2

I created a new conda env: conda create -n test_env

python 3.8 was installed (remark: my python is 3.7.3 under windows10 and anaconda)

When launching jupyter notebook in this environment I got the following error (translated in english):

The entry point of procedure ?PyWinObject_FromULARGE_INTEGR@@YAPEAU_object@@AEBT_ULARGE_INTEGER@@@Z can't be found in the dynamic link libary <~user>AppData\Local\Continuum\anaconda3\envs\test_env\Library\bin\pythoncom37.dll.

I create again (after removal): conda create -n test_env python=3.7

and got same issue

When using already existing conda envs no issue, just on the new ones.

Thank you for your help.

enter image description here

hganger
  • 147
  • 2
  • 12
  • 2
    There is good advice on using Jupyter with Conda in [this answer](https://stackoverflow.com/a/56409235/570918). In summary, you only install `jupyter` in one env, where you also install `nb_conda_kernels`. In all other envs you install `ipykernel`. Always launch `jupyter notebook` from the single env that has `jupyter` installed, then you can choose your the other envs as kernels. – merv Nov 21 '19 at 18:08
  • 1
    Thank you for yoyr answer. When I create a new environment,, I activate it and then do the following: conda install ipykernel. But now I have this error message and don't know how to solve it. – hganger Nov 22 '19 at 14:36

1 Answers1

2

I followed this link, though it couldn't solve my problem.

  1. it's not only while starting jupyter
  2. It also happened when I started spyder (from anaconda prompt) in the new env
  3. When importing tensorflow in the new env.

This solved for me => deleted pythoncomXX.dll in the exact folder (<~user>AppData\Local\Continuum\anaconda3\envs\test_env\Library\bin\pythoncom37.dll.) and I never encountered the same problem => in the all the three cases mentioned above.

Dharman
  • 30,962
  • 25
  • 85
  • 135
  • This doesn't seem to work for me.:( And the link that you shared isn't opening up either. Can you please recheck the link? – Rishabh Gupta Apr 13 '21 at 14:21