1
votes

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

1
There is good advice on using Jupyter with Conda in this answer. 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
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

1 Answers

1
votes

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.