Open JMKling opened 4 years ago
I have the same problem.
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.
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)
Same problem.
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
try activating the relevant conda environment (skip this step if you install everything in
base
) then try runningconda 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.
the problem is still here. Any update?
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 .
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 !
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.
Same issue in win10, Python 3.7.6, after trying to install Jupyter atop a clean env.
I have the same error, but after clicking "ok", the code can be run normally
I have the same error, but after clicking "ok", the code can be run normally
same as you
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:
python setup.py --help
on a custom packageblackcellmagic
extension in Jupyter Labmatplotlib
failDowngrading from my current version of pywin32 (227) to the previously installed version (223) makes the errors from 1. and 2. disappear, but not 3.
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.
解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。
solution:
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!
祝大家顺利!
解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。
solution:
- 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?
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.
解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。
solution:
- 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
.
Just delete the pythoncom37.dll. It works for me.
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
Just delete the pythoncom37.dll. It works for me.
yes this works for me as well
解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。
solution:
- 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\
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_"
解决方案: 1,搜索anaconda 的目录,搜文件名:pythoncom37.dll;复制这个文件(目录在pywin32XXXX中)。 2,搜索windows/system32/,相同的文件名:pythoncom37.dll;将上面复制的那个文件copy过来覆盖。 即:新版本的dll覆盖旧版本。 其余由于conda安装造成的相同的链接文件失踪,比如openssl等程序,都是一样的方法,弹窗会直接显示需要被覆盖的那个文件。新文件都直接在anaconda目录搜索即可。
solution:
- 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 : )
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
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.)
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.
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: @.***>
Just delete the pythoncom37.dll. It works for me.
That's the solution. Thank you !
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
conda list --show-channel-urls