$ 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
原文由 Shravya Boggarapu 发布,翻译遵循 CC BY-SA 4.0 许可协议
更新
anaconda
在 Manjaro 中为我解决了这个问题使用
conda update anaconda-navigator
命令更新