conda create出现连接问题_conda create 报错,解决!

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

错误报告如下:

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值