当前位置:   article > 正文

conda create新建环境失败报错:An unexpected error has occurred. Conda has prepared the above report._offline mode : false an unexpected error has occur

offline mode : false an unexpected error has occurred. conda has prepared th

问题描述:

linux中使用conda create命令新建环境报错如下:

  1. (base) [@localhost SPOT-1D-LM]$ conda create -n spot_1d_lm python=3.7
  2. Collecting package metadata (current_repodata.json): failed
  3. # >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
  4. Traceback (most recent call last):
  5. File "/home/sunxiaohan/anaconda3/lib/python3.8/site-packages/conda/exceptions.py", line 1080, in __call__
  6. return func(*args, **kwargs)
  7. File "/home/sunxiaohan/anaconda3/lib/python3.8/site-packages/conda/cli/main.py", line 84, in _main
  8. exit_code = do_call(args, p)
  9. File "/home/sunxiaohan/anaconda3/lib/python3.8/site-packages/conda/cli/conda_argparse.py", line 83, in do_call
  10. return getattr(module, func_name)(args, parser)
  11. File "/home/sunxiaohan/anaconda3/lib/python3.8/site-packages/conda/cli/main_create.py", line 41, in execute
  12. install(args, parser, 'create')
  13. File "/home/sunxiaohan/anaconda3/lib/python3.8/site-packages/conda/cli/install.py", line 259, in install
  14. unlink_link_transaction = solver.solve_for_transaction(
  15. File "/home/sunxiaohan/anaconda3/lib/python3.8/site-packages/conda/core/solve.py", line 114, in solve_for_transaction
  16. unlink_precs, link_precs = self.solve_for_diff(update_modifier, deps_modifier,
  17. File "/home/sunxiaohan/anaconda3/lib/python3.8/site-packages/conda/core/solve.py", line 157, in solve_for_diff
  18. final_precs = self.solve_final_state(update_modifier, deps_modifier, prune, ignore_pinned,
  19. File "/home/sunxiaohan/anaconda3/lib/python3.8/site-packages/conda/core/solve.py", line 262, in solve_final_state
  20. ssc = self._collect_all_metadata(ssc)
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小丑西瓜9/article/detail/639219
推荐阅读
相关标签
  

闽ICP备14008679号