Anaconda Terminal error pywin32_bootstrap

蓝咒 提交于 2020-05-10 21:31:07

问题


I got this error in my Anaconda Navigator base Terminal:

Traceback (most recent call last):
    File "C:\Users\myusername\AppData\Local\Continuum\anaconda3\lib\site.py", line 168, in addpackage
      exec(line)
    File "<string>", line 1, in <module>
  ModuleNotFoundError: No module named 'pywin32_bootstrap'

Remainder of file ignored

How can i fix this?


回答1:


I got the same error during pip install, and I solved it by installing build 225 of pywin32 instead of the latest version:

pip install pywin32==225



回答2:


I followed soberWolf's suggestion, but needed to add the --user switch as the permissions seem a little off, so pip install --ignore-installed pywin32 --user




回答3:


try pip install --ignore-installed pywin32 to reinstall pywin32

quote: How to fix 'ImportError: DLL load failed while importing win32api'



来源:https://stackoverflow.com/questions/58989806/anaconda-terminal-error-pywin32-bootstrap

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!