当前位置:网站首页>anaconda3无法打开navigator的解决办法
anaconda3无法打开navigator的解决办法
2022-07-28 05:29:00 【angleoldhen】
python配置环境真的是够呛。最近在安装anaconda3,pycharm后,更改源,升级各种模板后,突然出现anaconda无法打开navigator的情况。尝试着重新安装、卸载安装,删除注册表所有有关python和anaconda有关的项,全盘搜索含anaconda的目录文件并删除,均无法解决问题,均以网页形式提示:
Traceback (most recent call last):
File "d:\Anaconda3\lib\site-packages\anaconda_navigator\exceptions.py", line 75, in exception_handler
return_value = func(*args, **kwargs)
File "d:\Anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 150, in start_app
window = run_app(splash)
File "d:\Anaconda3\lib\site-packages\anaconda_navigator\app\start.py", line 65, in run_app
window = MainWindow(splash=splash, tab_project=False)
File "d:\Anaconda3\lib\site-packages\anaconda_navigator\widgets\main_window.py", line 168, in __init__
self.api = AnacondaAPI()
File "d:\Anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 2294, in AnacondaAPI
ANACONDA_API = _AnacondaAPI()
File "d:\Anaconda3\lib\site-packages\anaconda_navigator\api\anaconda_api.py", line 91, in __init__
self._conda_api = CondaAPI()
File "d:\Anaconda3\lib\site-packages\anaconda_navigator\api\conda_api.py", line 1767, in CondaAPI
CONDA_API = _CondaAPI()
File "d:\Anaconda3\lib\site-packages\anaconda_navigator\api\conda_api.py", line 353, in __init__
self.sys_rc_path = join(self.ROOT_PREFIX, '.condarc')
File "d:\Anaconda3\lib\ntpath.py", line 76, in join
path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not NoneType
继续回溯自己安装过程中曾经动过的文件,用户目录里的pip.ini和.condarc。一个偶然的尝试把.condarc文件删除再打开navigator居然OK了。。。
边栏推荐
猜你喜欢
随机推荐
Understanding of C language EOF
VLAN的配置
NAT-网络地址转换
Svg understanding and drawing application
[learning notes] linked list operation
Custom component -- data listener
LNMP搭建过程详解
About gcc:multiple definition of
[learning notes] process creation
shell脚本——正则表达式
Uniapp monitor whether the app has a network connection
静态和浮动路由
Test interview questions collection (V) | automated testing and performance testing (with answers)
Technology sharing | how to do Assertion Verification in interface automated testing?
Differences and relationships among NPM, Yran and NPX
MOOC Weng Kai C language fourth week: further judgment and circulation: 1. Logical types and operations 2. Judgment of cascading and nesting
Wechat applet custom compilation mode
Si Han talks about the professional development of testers
As a result, fill in the birthday candles
Test interview questions collection (III) | computer network and database (with answers)









