Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Update anaconda failed - Entry point not found

I have just tried to update my anaconda environment to the latest version and I am now receiving errors. I opened the conda environment as an admin, and the commands issued were:

conda update conda
conda update anaconda

First command finished fine. Second command produced error:

pythonw.exe - Entry Point Not Found

The procedure entry point ?PyWinObject_FromULARGE_INTEGER@@YAPEAU_object@@AEAT_ULARGE_INTEGER@@@Z could not be located in the dynamic link library c:\ProgramData\Anaconda3\pythoncom37.dll

Error message

I have found a reference to this sort of error that requires me to copy a file libssl-1-1-x64.dll from Anaconda3/Library/bin with the one from Anaconda3/DLLs.

How to Fix Entry Point Not Found while installing libraries in conda environment

However, I do not have that file, in the source location. Is there any commands I can issue to download this file again, or somewhere online I can safely download that one file from?

like image 716
Matthew Baker Avatar asked Jan 08 '20 11:01

Matthew Baker


People also ask

How do you fix failed to create process in Anaconda prompt?

("C:\Users\Ben Ji") The easiest solution is to install Anaconda to another folder in the Users-folder, e.g. public. Same issue, no space in my path, though.My solution was to reinstall anaconda on smaller path. From C:\Users\<myuser>\AppData\Local\Continuum\Anaconda\Anaconda3 to C:\anaconda3.

How do I update my Anaconda?

To update Anaconda to the latest version, type the following command. To update the Anaconda to a specific version, type the following command. The command conda update anaconda=VersionNumber grabs the specific release of the Anaconda metapackage; for example, conda update anaconda=2019.10.

How do I find my path in Anaconda prompt?

Now to check whether the installation is done correctly, open the command prompt and type anaconda-navigator. It will start the anaconda navigator App if installed correctly.


2 Answers

Got the same error, when updating conda.

However, the file pythoncom37.dll was located in C:\Windows\System32. Turns out the file was a left-over from a previous update of Python 3.7.5 to Python 3.8, i.e. not related to the installation of conda itself. My guess is that conda registered with Python 3.7 and then failed to use the dll from an incompatible installation.

Solution: Removed pythoncom37.dll and pywintypes37 from C:\Windows\System32.

like image 144
Christian Rickert Avatar answered Oct 03 '22 21:10

Christian Rickert


I had the same problem while updating tensorflow and other packages using anaconda python3 with sublime text3.

To solve this, I've deleted all the pythoncom37.dll in directory shown from the error window.

Replacing the file from other directory did not work.

Also reinstalling conda, upgrading conda, reinstalling sublimetext3 or tensorflow did not help as well.

like image 22
edward kim Avatar answered Oct 03 '22 22:10

edward kim