关于
Anaconda Navigator
在第一次安装完成后或用过Anaconda Navigator
图形化页面,但在后续使用中突然打不开程序的问题。
# 解决方法
打开
Anaconda Navigator
文件所在位置,找到一个名为Anaconda Prompt
的程序右键➡️以管理员运行。升级
navigator
,执行conda update anaconda-navigator
升级navigator (base) C:\Windows\System32>conda update anaconda-navigator
Channels:
- defaults
- conda-forge
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: D:\Software\Anaconda3
added / updated specs:
- anaconda-navigator
The following packages will be downloaded:
package | build
---------------------------|-----------------
anaconda-cloud-auth-0.5.1 | py311haa95532_0 50 KB
anaconda-navigator-2.6.0 | py311haa95532_0 5.7 MB
------------------------------------------------------------
Total: 5.7 MB
The following packages will be UPDATED:
anaconda-cloud-au~ 0.1.4-py311haa95532_0 --> 0.5.1-py311haa95532_0
anaconda-navigator 2.5.2-py311haa95532_0 --> 2.6.0-py311haa95532_0
Proceed ([y]/n)? y
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
重置
navigator
,执行anaconda-navigator --reset
重置navigator (base) C:\Windows\System32>anaconda-navigator --reset
Anaconda Navigator configuration reset...
Anaconda Navigator configuration reset successful!
升级客户端,执行
conda update anaconda-client
升级客户端 (base) C:\Windows\System32>conda update anaconda-client
Channels:
- defaults
- conda-forge
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: done
# All requested packages already installed.
升级安装依赖包,执行
conda update -f anaconda-client
升级安装依赖包 (base) C:\Windows\System32>conda update -f anaconda-client
WARNING: The --force flag will be removed in a future conda release.
See 'conda update --help' for details about the --force-reinstall
and --clobber flags.
Channels:
- defaults
- conda-forge
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: done
## Package Plan ##
environment location: D:\Software\Anaconda3
added / updated specs:
- anaconda-client
Proceed ([y]/n)? y
Downloading and Extracting Packages:
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
这样就可以重新启动
Anaconda Navigator
图形化页面了,到此问题解决。