Open anaconda navigator and the result has been loading application

Solve the problem that Anaconda cannot be opened

I haven't used anaconda for a long time. I wanted to set up an environment yesterday. I opened anaconda navigator and the result was always loading application.

find your own problem

Open anaconda navigator with conda prompt command interface, showing error

File “d:\Anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py”, line 811, in process_apps
versions=[vsdata.get('productVersion')],
AttributeError: 'str' object has no attribute ' get'
—————————————————
OK, find the source file
d:\Anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py", the line 811 is written
versions=[vsdata.get('productVersion')],
I read a blog and concluded that the inability to access the vscode website caused anaconda-navigator to fail to start, (the vscode icon cannot be started in the anaconda-navigator interface)

Solution

Change versions=[ vsdata.get
('productVersion')]
to
versions=["1b8e8302e405050205e69b59abb3559592bb9e60"],

At this time, vscode no longer checks for updates, anaconda opens normally, and the problem is solved.

Related Posts