使用conda创建环境的时候报错

报错详细信息:
 

(base)C: \Users\31191>conda create -n modelscope python=3.7Collecting package metadata (current_repodata.json): failed# >>>>>>>>>>>>>>>>>>>>>>ERROR REPORT〈<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "G: lancondallib\site-packages \conda core \subdir_data.py" , line 531,in fetch_repodata_remote_requestresp.raise_for_status(
File "G: \anconda\lib\site-packages\requests\models. py",line 1021, in raise_for_statusraise HTTPError (http_error_msg,response=self)
reuests.exceptions i.Phrror: A04 Client Error 1.ot Foumd for url: http:./ mirrors tuma tsinghua edu. cnl anaconda pkes/free inoarch/current repodata.jsonDuring handling of the above exception,another exception occurred:
Traceback (most recent call last) :
File "G: \anconda\lib\site-packages\requests\models.py", line 971,in jsonreturn complexjson.loads(self.text,**kwargs)
File "G: \anconda\lib\site-packages\simplejson\__init._.py", line 514, in loadsreturn _default_decoder.decode(s)
File "G: \anconda\libisite-packages\simplejson\decoder.py", line 386,in decodeobj, end = self.raw_decode(s)
File "G: \anconda\lib\site-packages\simplejson\decoder.py", line 416, in raw_decodereturn self.scan_once(s,idx=_w(s,idx).endo)
simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char O)During handling of the above exception,another exception occurred:
Traceback (most recent call last):
File "G: \anconda\lib\site-packages\conda\exceptions.py", line 1129,in __call_.return func (*args,**kwargs)
File "G: \anconda\lib\site-packages\conda\cli\lmain.py", line 86, in main_subshellexit_code = do_call(args,p)
File"G: \anconda\lib\site-packages\conda\cli\conda_argparse.py", line 93, in do_callreturn getattr (module,func_name)(args,parser)
File "G: \anconda\lib\site-packages\conda [notices\core.py", line 72, in wrapperreturn_value = func(*args,**kwargs)
File "G: \anconda\lib\site-packages \conda\cli\main_create.py", line 43, in executeinstall(args,parser,'create’)
File "G: \anconda\lib\site-packages\conda\cli\install.py", line 261,in installunlink_link_transaction = solver.solve_for_transaction(,
File "G: anconda\lib\site-packages \condaTcore\solve.py", line 156, in solve_for_transactionunlink_precs,link_precs = self.solve_for_diff(update_modifier,deps_modifier,
File"G: anconda\libisite-packages\conda (core\solve.py", line 199,in solve_for_diff
final_precs = self.solve_final_state(update_modifier,deps_modifier,prune,ignore_pinned,File "G: \anconda\lib\site-packages \conda\core\solve.py",line 304, in solve_final_state

报了这么多的错,主要问题就是你之前换了默认源,现在需要恢复一下默认的源,再去创建就好了

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值