conda 创建环境失败故障解决记录

Anaconda中使用conda创建新环境失败

电脑系统:win 10
环境:Anaconda
创建方法:使用conda来创建环境

创建失败提醒:

(base) C:\Users\Ruixue_Time>conda create -n vilg python=3.8
Collecting package metadata (current_repodata.json): failed

# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

    Traceback (most recent call last):
      File "D:\program\Anaconda\lib\site-packages\conda\core\subdir_data.py", line 531, in fetch_repodata_remote_request
        resp.raise_for_status()
      File "D:\program\Anaconda\lib\site-packages\requests\models.py", line 1021, in raise_for_status
        raise HTTPError(http_error_msg, response=self)
    requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch/current_repodata.json

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "D:\program\Anaconda\lib\site-packages\requests\models.py", line 971, in json
        return complexjson.loads(self.text, **kwargs)
      File "D:\program\Anaconda\lib\site-packages\simplejson\__init__.py", line 514, in loads
        return _default_decoder.decode(s)
      File "D:\program\Anaconda\lib\site-packages\simplejson\decoder.py", line 386, in decode
        obj, end = self.raw_decode(s)
      File "D:\program\Anaconda\lib\site-packages\simplejson\decoder.py", line 416, in raw_decode
        return self.scan_once(s, idx=_w(s, idx).end())
    simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "D:\program\Anaconda\lib\site-packages\conda\exceptions.py", line 1129, in __call__
        return func(*args, **kwargs)
      File "D:\program\Anaconda\lib\site-packages\conda\cli\main.py", line 86, in main_subshell
        exit_code = do_call(args, p)
      File "D:\program\Anaconda\lib\site-packages\conda\cli\conda_argparse.py", line 93, in do_call
        return getattr(module, func_name)(args, parser)
      File "D:\program\Anaconda\lib\site-packages\conda\notices\core.py"
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值