ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 223 forks source link

python(w).exe - Entry Point Not Found when opening Anaconda Navigator #11502

Open JMKling opened 4 years ago

JMKling commented 4 years ago

Actual Behavior

When opening Anaconda Navigator it throws about15 errors saying The procedure entry point ?PyWinObject_FromULARGE_INTEGER@@YAPEAU_object@@AEBT_ULARGE_INTEGER@@@Z could not be located in the dynamic link library C:WINDOWS\SYSTEM32\pythoncom37.dll

Then while the application is open it throws the error every 5-10 seconds. It does it if I use the anaconda prompt as well.

Expected Behavior

It should open and function correctly.

Steps to Reproduce

Anaconda 2019.10?
Operating System:

Windows 10

conda info
``` active environment : base active env location : C:\ProgramData\Anaconda3 shell level : 1 user config file : C:\Users\jeffm\.condarc populated config files : C:\Users\jeffm\.condarc conda version : 4.7.12 conda-build version : 3.18.9 python version : 3.7.4.final.0 virtual packages : __cuda=10.0 base environment : C:\ProgramData\Anaconda3 (read only) channel URLs : https://repo.anaconda.com/pkgs/main/win-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/win-64 https://repo.anaconda.com/pkgs/r/noarch https://repo.anaconda.com/pkgs/msys2/win-64 https://repo.anaconda.com/pkgs/msys2/noarch package cache : C:\ProgramData\Anaconda3\pkgs C:\Users\jeffm\.conda\pkgs C:\Users\jeffm\AppData\Local\conda\conda\pkgs envs directories : C:\Users\jeffm\.conda\envs C:\ProgramData\Anaconda3\envs C:\Users\jeffm\AppData\Local\conda\conda\envs platform : win-64 user-agent : conda/4.7.12 requests/2.22.0 CPython/3.7.4 Windows/10 Windows/10.0.18362 administrator : False netrc file : None offline mode : False ```
conda list --show-channel-urls
``` # packages in environment at C:\ProgramData\Anaconda3: # # Name Version Build Channel _ipyw_jlab_nb_ext_conf 0.1.0 py37_0 defaults alabaster 0.7.12 py37_0 defaults anaconda 2019.10 py37_0 defaults anaconda-client 1.7.2 py37_0 defaults anaconda-navigator 1.9.7 py37_0 defaults anaconda-project 0.8.3 py_0 defaults argh 0.26.2 pypi_0 pypi asn1crypto 1.0.1 py37_0 defaults astroid 2.3.1 py37_0 defaults astropy 3.2.1 py37he774522_0 defaults atomicwrites 1.3.0 py37_1 defaults attrs 19.2.0 py_0 defaults babel 2.7.0 py_0 defaults backcall 0.1.0 py37_0 defaults backports 1.0 py_2 defaults backports.functools_lru_cache 1.5 py_2 defaults backports.os 0.1.1 py37_0 defaults backports.shutil_get_terminal_size 1.0.0 py37_2 defaults backports.tempfile 1.0 py_1 defaults backports.weakref 1.0.post1 py_1 defaults beautifulsoup4 4.8.0 py37_0 defaults bitarray 1.0.1 py37he774522_0 defaults bkcharts 0.2 py37_0 defaults blas 1.0 mkl defaults bleach 3.1.0 py37_0 defaults blosc 1.16.3 h7bd577a_0 defaults bokeh 1.3.4 py37_0 defaults boto 2.49.0 py37_0 defaults bottleneck 1.2.1 py37h452e1ab_1 defaults bzip2 1.0.8 he774522_0 defaults ca-certificates 2019.8.28 0 defaults certifi 2019.9.11 py37_0 defaults cffi 1.12.3 py37h7a1dbc1_0 defaults chardet 3.0.4 py37_1003 defaults click 7.0 py37_0 defaults cloudpickle 1.2.2 py_0 defaults clyent 1.2.2 py37_1 defaults colorama 0.4.1 py37_0 defaults comtypes 1.1.7 py37_0 defaults conda 4.7.12 py37_0 defaults conda-build 3.18.9 py37_3 defaults conda-env 2.6.0 1 defaults conda-package-handling 1.6.0 py37h62dcd97_0 defaults conda-verify 3.4.2 py_1 defaults console_shortcut 0.1.1 3 defaults contextlib2 0.6.0 py_0 defaults cryptography 2.7 py37h7a1dbc1_0 defaults curl 7.65.3 h2a8f88b_0 defaults cycler 0.10.0 py37_0 defaults cython 0.29.13 py37ha925a31_0 defaults cytoolz 0.10.0 py37he774522_0 defaults dask 2.5.2 py_0 defaults dask-core 2.5.2 py_0 defaults decorator 4.4.0 py37_1 defaults defusedxml 0.6.0 py_0 defaults distributed 2.5.2 py_0 defaults docutils 0.15.2 py37_0 defaults entrypoints 0.3 py37_0 defaults et_xmlfile 1.0.1 py37_0 defaults fastcache 1.1.0 py37he774522_0 defaults filelock 3.0.12 py_0 defaults flask 1.1.1 py_0 defaults freetype 2.9.1 ha9979f8_1 defaults fsspec 0.5.2 py_0 defaults future 0.17.1 py37_0 defaults get_terminal_size 1.0.0 h38e98db_0 defaults gevent 1.4.0 py37he774522_0 defaults glob2 0.7 py_0 defaults greenlet 0.4.15 py37hfa6e2cd_0 defaults h5py 2.9.0 py37h5e291fa_0 defaults hdf5 1.10.4 h7ebc959_0 defaults heapdict 1.0.1 py_0 defaults html5lib 1.0.1 py37_0 defaults icc_rt 2019.0.0 h0cc432a_1 defaults icu 58.2 ha66f8fd_1 defaults idna 2.8 py37_0 defaults imageio 2.6.0 py37_0 defaults imagesize 1.1.0 py37_0 defaults importlib_metadata 0.23 py37_0 defaults intel-openmp 2019.4 245 defaults ipykernel 5.1.2 py37h39e3cac_0 defaults ipython 7.8.0 py37h39e3cac_0 defaults ipython_genutils 0.2.0 py37_0 defaults ipywidgets 7.5.1 py_0 defaults isort 4.3.21 py37_0 defaults itsdangerous 1.1.0 py37_0 defaults jdcal 1.4.1 py_0 defaults jedi 0.15.1 py37_0 defaults jinja2 2.10.3 py_0 defaults joblib 0.13.2 py37_0 defaults jpeg 9b hb83a4c4_2 defaults json5 0.8.5 py_0 defaults jsonschema 3.0.2 py37_0 defaults jupyter 1.0.0 py37_7 defaults jupyter_client 5.3.3 py37_1 defaults jupyter_console 6.0.0 py37_0 defaults jupyter_core 4.5.0 py_0 defaults jupyterlab 1.1.4 pyhf63ae98_0 defaults jupyterlab_server 1.0.6 py_0 defaults keyring 18.0.0 py37_0 defaults kiwisolver 1.1.0 py37ha925a31_0 defaults krb5 1.16.1 hc04afaa_7 defaults lazy-object-proxy 1.4.2 py37he774522_0 defaults libarchive 3.3.3 h0643e63_5 defaults libcurl 7.65.3 h2a8f88b_0 defaults libiconv 1.15 h1df5818_7 defaults liblief 0.9.0 ha925a31_2 defaults libpng 1.6.37 h2a8f88b_0 defaults libsodium 1.0.16 h9d3ae62_0 defaults libssh2 1.8.2 h7a1dbc1_0 defaults libtiff 4.0.10 hb898794_2 defaults libxml2 2.9.9 h464c3ec_0 defaults libxslt 1.1.33 h579f668_0 defaults llvmlite 0.29.0 py37ha925a31_0 defaults locket 0.2.0 py37_1 defaults lxml 4.4.1 py37h1350720_0 defaults lz4-c 1.8.1.2 h2fa13f4_0 defaults lzo 2.10 h6df0209_2 defaults m2w64-gcc-libgfortran 5.3.0 6 defaults m2w64-gcc-libs 5.3.0 7 defaults m2w64-gcc-libs-core 5.3.0 7 defaults m2w64-gmp 6.1.0 2 defaults m2w64-libwinpthread-git 5.0.0.4634.697f757 2 defaults markupsafe 1.1.1 py37he774522_0 defaults matplotlib 3.1.1 py37hc8f65d3_0 defaults mccabe 0.6.1 py37_1 defaults menuinst 1.4.16 py37he774522_0 defaults mistune 0.8.4 py37he774522_0 defaults mkl 2019.4 245 defaults mkl-service 2.3.0 py37hb782905_0 defaults mkl_fft 1.0.14 py37h14836fe_0 defaults mkl_random 1.1.0 py37h675688f_0 defaults mock 3.0.5 py37_0 defaults more-itertools 7.2.0 py37_0 defaults mpmath 1.1.0 py37_0 defaults msgpack-python 0.6.1 py37h74a9793_1 defaults msys2-conda-epoch 20160418 1 defaults multipledispatch 0.6.0 py37_0 defaults navigator-updater 0.2.1 py37_0 defaults nbconvert 5.6.0 py37_1 defaults nbformat 4.4.0 py37_0 defaults networkx 2.3 py_0 defaults nltk 3.4.5 py37_0 defaults nose 1.3.7 py37_2 defaults notebook 6.0.1 py37_0 defaults numba 0.45.1 py37hf9181ef_0 defaults numexpr 2.7.0 py37hdce8814_0 defaults numpy 1.16.5 py37h19fb1c0_0 defaults numpy-base 1.16.5 py37hc3f5095_0 defaults numpydoc 0.9.1 py_0 defaults olefile 0.46 py37_0 defaults openpyxl 3.0.0 py_0 defaults openssl 1.1.1d he774522_2 defaults packaging 19.2 py_0 defaults pandas 0.25.1 py37ha925a31_0 defaults pandoc 2.2.3.2 0 defaults pandocfilters 1.4.2 py37_1 defaults parso 0.5.1 py_0 defaults partd 1.0.0 py_0 defaults path.py 12.0.1 py_0 defaults pathlib2 2.3.5 py37_0 defaults pathtools 0.1.2 pypi_0 pypi patsy 0.5.1 py37_0 defaults pep8 1.7.1 py37_0 defaults pickleshare 0.7.5 py37_0 defaults pillow 6.2.0 py37hdc69c19_0 defaults pip 19.2.3 py37_0 defaults pkginfo 1.5.0.1 py37_0 defaults pluggy 0.13.0 py37_0 defaults ply 3.11 py37_0 defaults powershell_shortcut 0.0.1 2 defaults prometheus_client 0.7.1 py_0 defaults prompt_toolkit 2.0.10 py_0 defaults psutil 5.6.3 py37he774522_0 defaults py 1.8.0 py37_0 defaults py-lief 0.9.0 py37ha925a31_2 defaults pycodestyle 2.5.0 py37_0 defaults pycosat 0.6.3 py37hfa6e2cd_0 defaults pycparser 2.19 py37_0 defaults pycrypto 2.6.1 py37hfa6e2cd_9 defaults pycurl 7.43.0.3 py37h7a1dbc1_0 defaults pyflakes 2.1.1 py37_0 defaults pygments 2.4.2 py_0 defaults pylint 2.4.2 py37_0 defaults pyodbc 4.0.27 py37ha925a31_0 defaults pyopenssl 19.0.0 py37_0 defaults pyparsing 2.4.2 py_0 defaults pyqt 5.9.2 py37h6538335_2 defaults pyreadline 2.1 py37_1 defaults pyrsistent 0.15.4 py37he774522_0 defaults pysocks 1.7.1 py37_0 defaults pytables 3.5.2 py37h1da0976_1 defaults pytest 5.2.1 py37_0 defaults pytest-arraydiff 0.3 py37h39e3cac_0 defaults pytest-astropy 0.5.0 py37_0 defaults pytest-doctestplus 0.4.0 py_0 defaults pytest-openfiles 0.4.0 py_0 defaults pytest-remotedata 0.3.2 py37_0 defaults python 3.7.4 h5263a28_0 defaults python-dateutil 2.8.0 py37_0 defaults python-libarchive-c 2.8 py37_13 defaults pytz 2019.3 py_0 defaults pywavelets 1.0.3 py37h8c2d366_1 defaults pywin32 223 py37hfa6e2cd_1 defaults pywinpty 0.5.5 py37_1000 defaults pyyaml 5.1.2 py37he774522_0 defaults pyzmq 18.1.0 py37ha925a31_0 defaults qt 5.9.7 vc14h73c81de_0 defaults qtawesome 0.6.0 py_0 defaults qtconsole 4.5.5 py_0 defaults qtpy 1.9.0 py_0 defaults requests 2.22.0 py37_0 defaults rope 0.14.0 py_0 defaults ruamel_yaml 0.15.46 py37hfa6e2cd_0 defaults scikit-image 0.15.0 py37ha925a31_0 defaults scikit-learn 0.21.3 py37h6288b17_0 defaults scipy 1.3.1 py37h29ff71c_0 defaults seaborn 0.9.0 py37_0 defaults send2trash 1.5.0 py37_0 defaults setuptools 41.4.0 py37_0 defaults simplegeneric 0.8.1 py37_2 defaults singledispatch 3.4.0.3 py37_0 defaults sip 4.19.8 py37h6538335_0 defaults six 1.12.0 py37_0 defaults snappy 1.1.7 h777316e_3 defaults snowballstemmer 2.0.0 py_0 defaults sortedcollections 1.1.2 py37_0 defaults sortedcontainers 2.1.0 py37_0 defaults soupsieve 1.9.3 py37_0 defaults sphinx 2.2.0 py_0 defaults sphinxcontrib 1.0 py37_1 defaults sphinxcontrib-applehelp 1.0.1 py_0 defaults sphinxcontrib-devhelp 1.0.1 py_0 defaults sphinxcontrib-htmlhelp 1.0.2 py_0 defaults sphinxcontrib-jsmath 1.0.1 py_0 defaults sphinxcontrib-qthelp 1.0.2 py_0 defaults sphinxcontrib-serializinghtml 1.1.3 py_0 defaults sphinxcontrib-websupport 1.1.2 py_0 defaults spyder 3.3.6 py37_0 defaults spyder-kernels 0.5.2 py37_0 defaults sqlalchemy 1.3.9 py37he774522_0 defaults sqlite 3.30.0 he774522_0 defaults statsmodels 0.10.1 py37h8c2d366_0 defaults sympy 1.4 py37_0 defaults tbb 2019.4 h74a9793_0 defaults tblib 1.4.0 py_0 defaults terminado 0.8.2 py37_0 defaults testpath 0.4.2 py37_0 defaults tk 8.6.8 hfa6e2cd_0 defaults toolz 0.10.0 py_0 defaults tornado 6.0.3 py37he774522_0 defaults tqdm 4.36.1 py_0 defaults traitlets 4.3.3 py37_0 defaults unicodecsv 0.14.1 py37_0 defaults urllib3 1.24.2 py37_0 defaults vc 14.1 h0510ff6_4 defaults vs2015_runtime 14.16.27012 hf0eaf9b_0 defaults watchdog 0.9.0 pypi_0 pypi wcwidth 0.1.7 py37_0 defaults webencodings 0.5.1 py37_1 defaults werkzeug 0.16.0 py_0 defaults wheel 0.33.6 py37_0 defaults widgetsnbextension 3.5.1 py37_0 defaults win_inet_pton 1.1.0 py37_0 defaults win_unicode_console 0.5 py37_0 defaults wincertstore 0.2 py37_0 defaults winpty 0.4.3 4 defaults wrapt 1.11.2 py37he774522_0 defaults xlrd 1.2.0 py37_0 defaults xlsxwriter 1.2.1 py_0 defaults xlwings 0.15.10 py37_0 defaults xlwt 1.3.0 py37_0 defaults xz 5.2.4 h2fa13f4_4 defaults yaml 0.1.7 hc54c509_2 defaults zeromq 4.3.1 h33f27b4_3 defaults zict 1.0.0 py_0 defaults zipp 0.6.0 py_0 defaults zlib 1.2.11 h62dcd97_3 defaults zstd 1.3.7 h508b16e_0 defaults ```
cwlinghk commented 4 years ago

I have the same problem.

JMKling commented 4 years ago

I uninstalled anaconda, did a reboot and tried the 32-bit installer version and it works. I think it is something buggy with the 64-bit install, or it’s one of those ‘implied knowledge’ things that casual users won’t know about.

The whole ordeal caused issues with visual studio 2019 and I had to uninstall and re-install VS for VS to open.

RGAlexander216 commented 4 years ago

I can also confirm that this is an issue, I cannot confirm the 64-bit vs 32-bit yet as I have not tried it, but I have attached a screenshot of the error received (when trying to open Jupyter Notebook via the command line) Pythoncom37 dll-Error

kengwit commented 4 years ago

Same problem.

allan-jh commented 4 years ago

try activating the relevant conda environment (skip this step if you install everything in base) then try running conda install --force-reinstall nb_conda_kernels ipykernel seems to fix this problem for me, as per: https://stackoverflow.com/questions/58980718/error-message-launching-jupyter-in-conda-environment

franva commented 4 years ago

try activating the relevant conda environment (skip this step if you install everything in base) then try running conda install --force-reinstall nb_conda_kernels ipykernel seems to fix this problem for me, as per: https://stackoverflow.com/questions/58980718/error-message-launching-jupyter-in-conda-environment

tried, but the problem persists.

franva commented 4 years ago

the problem is still here. Any update?

RGAlexander216 commented 4 years ago

Yes,I created a new virtual Environment today which resulted in this exact same error.

Channels by priority: Conda-foge Intel Anaconda Defaults

Win64

Python3.7.6

I tried the nb_conda_kernels suggestion of reinstalling multiple times using --force and each aforementioned channel as the primary to no avail.

On Fri, Jan 3, 2020, 9:58 PM Winston Fan notifications@github.com wrote:

the problem is still here. Any update?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ContinuumIO/anaconda-issues/issues/11502?email_source=notifications&email_token=AE3WCS44WT7ACHPXV7TVTRTQ4ACNDA5CNFSM4JX7YSO2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEICQJTQ#issuecomment-570754254, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3WCSZWUOX7RKPLGOLVQL3Q4ACNDANCNFSM4JX7YSOQ .

SebastienCharles commented 4 years ago

I have the same issue, but if i open the cmd console from a powershell console or a git bash console, I don't have the bug !

cloudspeak commented 4 years ago

Just adding another "me too" - and also to say that this occurs when I run Sypder too, although that does actually work after dismissing the errors.

jpcartailler commented 4 years ago

Same issue in win10, Python 3.7.6, after trying to install Jupyter atop a clean env.

jiaolang771 commented 4 years ago

I have the same error, but after clicking "ok", the code can be run normally

huanghaozi commented 4 years ago

I have the same error, but after clicking "ok", the code can be run normally

same as you

samueldy commented 4 years ago

I too have the exact same message, except the affected DLL is in %LOCALAPPDATA%\Continuum\miniconda3\lib\site-packages\pywin32_system32\pythoncom37.dll.

For me, it looks like this then gets picked up by all the environments that symlink back to pywin32_system32.

I also get the same error as RGAlexander216 when I:

  1. try to use python setup.py --help on a custom package
  2. try to load the blackcellmagic extension in Jupyter Lab
  3. try to view a list of ase.Atoms objects with calculated energies using the ASE GUI (see image below). Displaying the atom structures usually is accompanied by a plot of the energies, and I think this procedure entry error makes the subprocess call to matplotlib fail

image

Downgrading from my current version of pywin32 (227) to the previously installed version (223) makes the errors from 1. and 2. disappear, but not 3.

btw08 commented 4 years ago

I was getting a similar message to what others had mentioned, but only within one (new) conda environment. I noticed that in by base environment, I had a warning telling me that I needed to upgrade conda (from v4.7). I'm now on conda 4.8.1, and the issue seems to have been resolved.

I also noticed that upgrading conda caused my (base environment) pywin32 to upgrade from 223 to 227. The new environment that I had created (the one that was giving me problems) already had 227 - so I'm wondering if the issue could be caused by different versions of pywin32 in base env vs virtual env. I know very, very little about pywin32, so I could be completely off base.

jjandnn commented 4 years ago

解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。

solution:

  1. Search the directory of anaconda and search for the file name: pythoncom37.dll; copy this file (the directory is in pywin32XXXX).

2, search windows / system32 /, the same file name: pythoncom37.dll; copy the file copied above to overwrite.

That is: the new version of the dll overwrites the old version.

The rest of the same linked files missing due to conda installation, such as openssl and other programs, are the same method, and the popup will directly display the file that needs to be overwritten. New files can be searched directly in the anaconda directory.

forgive me。 my english like shit!

祝大家顺利!

samueldy commented 4 years ago

解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。

solution:

  1. Search the directory of anaconda and search for the file name: pythoncom37.dll; copy this file (the directory is in pywin32XXXX).

2, search windows / system32 /, the same file name: pythoncom37.dll; copy the file copied above to overwrite.

That is: the new version of the dll overwrites the old version.

The rest of the same linked files missing due to conda installation, such as openssl and other programs, are the same method, and the popup will directly display the file that needs to be overwritten. New files can be searched directly in the anaconda directory.

forgive me。 my english like shit!

祝大家顺利!

No worries! Your english is good!

Sounds like Windows is looking in Windows/System32 for pythoncom37.dll before it looks in your Anaconda folder. Did you activate your conda environment first?

samueldy commented 4 years ago

I was getting a similar message to what others had mentioned, but only within one (new) conda environment. I noticed that in by base environment, I had a warning telling me that I needed to upgrade conda (from v4.7). I'm now on conda 4.8.1, and the issue seems to have been resolved.

I also noticed that upgrading conda caused my (base environment) pywin32 to upgrade from 223 to 227. The new environment that I had created (the one that was giving me problems) already had 227 - so I'm wondering if the issue could be caused by different versions of pywin32 in base env vs virtual env. I know very, very little about pywin32, so I could be completely off base.

I can confirm that upgrading conda to 4.8.2 in the base environment gets rid of the "Entry Point Not Found" dialogue box on my system.

changym3 commented 4 years ago

解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。

solution:

  1. Search the directory of anaconda and search for the file name: pythoncom37.dll; copy this file (the directory is in pywin32XXXX).

2, search windows / system32 /, the same file name: pythoncom37.dll; copy the file copied above to overwrite.

That is: the new version of the dll overwrites the old version.

The rest of the same linked files missing due to conda installation, such as openssl and other programs, are the same method, and the popup will directly display the file that needs to be overwritten. New files can be searched directly in the anaconda directory.

forgive me。 my english like shit!

祝大家顺利!

Thank you so much! The same problem occurs to me when I install torch_geometric and it's completely solved. There a few things I want to note about.

Since we activate the default environment, or we add "Anaconda\Library\bin" to PATH variables, it's an alternative to replace the target dll in "Anaconda\Libray\bin" with a new one. In my case, I search and use the pythoncom37.dll from the "pkgs\pywin32xxxx\Lib\site-packages\pywin32_system32\". I guess maybe there are some package compatibility problems behind them.

UPDATE: When I replace the pythoncom37.dll with another one, this error doesn't happen when I use torch_geometric, but it occurs in another virtual enviroment. The final solution is to execute conda update conda to update the package pywin32.

Yanweihong commented 4 years ago

Just delete the pythoncom37.dll. It works for me.

CuchulainX commented 4 years ago

I was frustrated by this also. Tried a number of suggestions from earlier posters such as jjandnn. Tried installing via 32 & 64 bit installer; mods to Path variable; removing and re-installing Python. Continued to get the Entry Point message.

Finally fixed by installing via the Choclatey package manager https://chocolatey.org/packages/anaconda3 - which used the 64bit installer

KathyZhuang commented 4 years ago

Just delete the pythoncom37.dll. It works for me.

yes this works for me as well

flakula commented 4 years ago

解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。

solution:

  1. Search the directory of anaconda and search for the file name: pythoncom37.dll; copy this file (the directory is in pywin32XXXX).

2, search windows / system32 /, the same file name: pythoncom37.dll; copy the file copied above to overwrite.

That is: the new version of the dll overwrites the old version.

The rest of the same linked files missing due to conda installation, such as openssl and other programs, are the same method, and the popup will directly display the file that needs to be overwritten. New files can be searched directly in the anaconda directory.

forgive me。 my english like shit!

祝大家顺利!

Thanks a lot!! It works for me too. I was using Winpython, which is basically like conda. I also just deleted the file in C:\Windows\SysWOW64\

davet2001 commented 4 years ago

I got the message while starting spyder on an older python version running win10. For me it was enough to rename "C:\WinPython-64bit-3.5.3.1Qt5\python-3.5.3.amd64\pythoncom35.dll" to "C:\WinPython-64bit-3.5.3.1Qt5\python-3.5.3.amd64\pythoncom35.dll_"

scrapinganalytics commented 3 years ago

解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。

solution:

  1. Search the directory of anaconda and search for the file name: pythoncom37.dll; copy this file (the directory is in pywin32XXXX).

2, search windows / system32 /, the same file name: pythoncom37.dll; copy the file copied above to overwrite.

That is: the new version of the dll overwrites the old version.

The rest of the same linked files missing due to conda installation, such as openssl and other programs, are the same method, and the popup will directly display the file that needs to be overwritten. New files can be searched directly in the anaconda directory.

forgive me。 my english like shit!

祝大家顺利!

This works for me. In short, I went to the folder mentioned in the error message and removed the pythoncom37.dll (actually, I renamed it to pythoncom37.dll.old just in case). Then the error message referred to another location, and I did the same. Problem solved. Thank you so much.

In total, I went through these two folders:

PS. I am able to read both English and Chinese, and find that your English is great and reflects all your points in Chinese. Thanks again : )

UliSei commented 3 years ago

My experience why the popup happened on Windows 10 with

          conda version : 4.10.3
    conda-build version : 3.18.11
         python version : 3.7.11.final.0
     Anaconda Navigator : 2.0.4

I had tried to install new packages in Anaconda3: pip install rpaframework The installation started with downloading lots of files but finally broke with "ERROR: Could not install packages due to an OSError: [WinError 5] Access denied: ‘C:\Users\Uli\anaconda3\Lib\site-packages\pywin32_system32\pywintypes37.dll‘ Consider using the ‘--user‘ option or check the permissions." Since then I got the popup message quite often.

I found the pythoncom37.dll file with timestamp from the broken installation. Copying pythoncom37.dll to C:\Windows\System32 and restart did not solve. Then I renamed pythoncom37.dll to XXXpythoncom37.dll (quite like deleting). There were no popups any more when starting Anaconda Navigator. Final test: renaming XXXpythoncom37.dll to pythoncom37.dll Now the popups appeared again when starting the Navigator. So for me renaming or just deleting of the dll pywintypes37.dll worked Next task: resolving conflicts with the installed packages.

Lessons learned: 1) "Issues may arise when using pip and conda together." See conda.io docu 2) "We recommend always installing your packages inside a new environment instead of the base (formerly known as root) environment" See conda-forge docu

JeongWonJu commented 2 years ago

Just delete the pythoncom37.dll. It works for me.

It is also helpful for me (I used Python with Idle and Jupyter, and I got in trouble ('procedure entry point could not be located in the dynamic link library (dll) C:\ ... \pythoncom38.dll') when I downloaded PsychoPy. ). I moved the pythoncom38.dll to another place and it worked. (Other codes I have made on Jupyter worked also.)

RichestYoo commented 2 years ago

While searching for the same problem, I found this: https://groups.google.com/g/pygame-mirror-on-google-groups/c/ymZeWLBwi-Q

Based on this, I ran the following and the problem has gone for me: pip install --upgrade pip pip install --upgrade pywin32 conda install --force-reinstall nb_conda_kernels ipykernel

I think pywin32 is the culprit.

JeongWonJu commented 2 years ago

Thank you for response. While using PsychoPy, I found the program cannot read more than one column in xlsx file. I made data put one column for each xlsx file and it ran well (without culprit issue).

2022년 6월 14일 (화) 오후 11:50, RichestYoo @.***>님이 작성:

While searching for the same problem, I found this: https://groups.google.com/g/pygame-mirror-on-google-groups/c/ymZeWLBwi-Q

Based on this, I ran the following and the problem has gone for me: pip install --upgrade pip pip install --upgrade pywin32 conda install --force-reinstall nb_conda_kernels ipykernel

I think pywin32 is the culprit.

— Reply to this email directly, view it on GitHub https://github.com/ContinuumIO/anaconda-issues/issues/11502#issuecomment-1155299085, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ53PT5HF265H56AHRY3MILVPCLZRANCNFSM4JX7YSOQ . You are receiving this because you commented.Message ID: @.***>

HistoriaMkh commented 2 years ago

Just delete the pythoncom37.dll. It works for me.

That's the solution. Thank you !