错误报告如下:
orange@Orange:~$ conda create -n tensorflow python=3.7
Solving environment: failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/home/orange/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 227, in _load
mod_etag_headers.get('_mod'))
File "/home/orange/anaconda3/lib/python3.7/site-packages/conda/core/subdir_data.py", line 574, in fetch_repodata_remote_request
raise Response304ContentUnchanged()
conda.core.subdir_data.Response304ContentUnchanged
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/orange/anaconda3/lib/python3.7/site-packages/conda/exceptions.py", line 819, in __call__
return func(*args, **kwargs)
File "/home/orange/anaconda3/lib/python3.7/site-packages/conda/cli/main.py", line 78, in _main
exit_code = do_call(args, p)
File "/home/orange/anaconda3/lib/python3.7/site-packages/conda/cli/conda_argparse.py", line 77, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "/home/orange/anaconda3/lib/python3.7/site-packages/conda/cli/main_create.py", line 11, in execute
install(args, parser, 'create')
File "/home/orange/anaconda3/lib/python3.7/site-packages/conda/cli/install.py", lin

当尝试使用conda创建名为tensorflow的环境并安装python 3.7时,遇到了解决环境失败的问题。错误源于conda在获取repodata时遇到JSONDecodeError,可能与网络连接或conda源有关。解决方法包括检查网络状况、切换到更稳定的conda源或恢复默认源。

724

被折叠的 条评论
为什么被折叠?



