使用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

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

你可能感兴趣的:(conda)