$ anaconda-navigator
WARNING: The conda.compat module is deprecated and will be removed in a future release.
/anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/conda_api.py:1364: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
data = yaml.load(f)
2019-06-02 10:37:25,261 - ERROR download_api._get_url:416
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/main_window.py", line 539, in setup
self.post_setup(conda_data=conda_data)
File "/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/main_window.py", line 576, in post_setup
self.tab_home.setup(conda_data)
File "/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/tabs/home.py", line 169, in setup
self.set_applications(applications, packages)
File "/anaconda3/lib/python3.7/site-packages/anaconda_navigator/widgets/tabs/home.py", line 204, in set_applications
apps = self.api.process_apps(applications, prefix=self.current_prefix)
File "/anaconda3/lib/python3.7/site-packages/anaconda_navigator/api/anaconda_api.py", line 888, in process_apps
versions=[vsdata.get('productVersion')],
AttributeError: 'str' object has no attribute 'get'
我已经在几个地方看到了此错误,但是没有一个站点提供任何可行的解决方案。
即使直接启动,应用程序也可以工作(因此,现在,我要解决这个问题)
如果需要详细的日志,我已经使用--verbose和--debug选项运行了同一命令:https://drive.google.com/file/d/1Xump5Ns0FFX7N9Ujl0kqPZVNhXZgm4j1/view?usp=sharing
答案 0 :(得分:1)
我在“加载应用程序”中找到了一个冻结的解决方案。尝试将第 1364 行 anaconda3\Lib\site-packages\anaconda_navigator\api\conda_api.py
处的文件从 data = yaml.load(f)
更改为 data = yaml.safeload(f)
(引用自 Salim Tekin)。
答案 1 :(得分:0)
答案 2 :(得分:0)
尝试以管理员身份打开导航器。
答案 3 :(得分:0)
更新eval
在Manjaro中为我解决了这个问题
使用anaconda
命令进行更新
答案 4 :(得分:0)
对于我在 Windows 10 上,它使用以下步骤