Anaconda navigator not launching windows 10 (Spyder as well)

别等时光非礼了梦想. 提交于 2021-01-28 05:04:07

问题


I installed the anaconda 64 bit on windows 10. I can launch the prompt but when I try to open navigator thru the icon or thru prompt, I'm getting the error below. Can someone help me?

Traceback (most recent call last):
  File "C:\ProgramData\Anaconda3\Scripts\anaconda-navigator-script.py", line 10, in <module>
    sys.exit(main())
  File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 103, in main
    from anaconda_navigator.app.start import start_app
  File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 34, in <module>
    from anaconda_navigator.widgets.main_window import MainWindow
  File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 37, in <module>
    from anaconda_navigator.utils.analytics import GATracker
  File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\utils\analytics.py", line 44, in <module>
    from anaconda_navigator.external.UniversalAnalytics import Tracker
  File "C:\ProgramData\Anaconda3\lib\site-packages\anaconda_navigator\external\UniversalAnalytics\Tracker.py", line 28, in <module>
    from six.moves.urllib.request import (HTTPSHandler, Request, build_opener,
ImportError: cannot import name 'HTTPSHandler' from 'six.moves.urllib.request' (unknown location)

Also, Spyder is also not launching. I can launch Jupyter and prompt.


回答1:


I tried to install the Anaconda (Python 3.7 version) on Windows 10 and I was facing the following error:

(base) C:\Users\***>anaconda-navigator Traceback (most recent call last):   File "C:\Users\***\anaconda3\Scripts\anaconda-navigator-script.py", line 10, in <module>
    sys.exit(main())   File "C:\Users\***\anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 103, in main
    from anaconda_navigator.app.start import start_app   File "C:\Users\***\anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 34, in <module>
    from anaconda_navigator.widgets.main_window import MainWindow   File "C:\Users\***\anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 39, in <module>
    from anaconda_navigator.utils.analytics import GATracker   File "C:\Users\***\anaconda3\lib\site-packages\anaconda_navigator\utils\analytics.py", line 44, in <module>
    from anaconda_navigator.external.UniversalAnalytics import Tracker   File "C:\Users\***\anaconda3\lib\site-packages\anaconda_navigator\external\UniversalAnalytics\Tracker.py", line 28, in <module>
    from six.moves.urllib.request import (HTTPSHandler, Request, build_opener, ImportError: cannot import name 'HTTPSHandler' from 'six.moves.urllib.request' (unknown location)

I did the solution explained here and it worked.




回答2:


For me it works after installing "Win64 OpenSSL v1.1.1d Light"



来源:https://stackoverflow.com/questions/54878142/anaconda-navigator-not-launching-windows-10-spyder-as-well

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