今天在用实验室服务器创建新的环境的时候发现,当我使用:
conda create --name ALi_euler # 创建新的环境
一直报这个错误:
Collecting package metadata (current_repodata.json): failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
Traceback (most recent call last):
File "/home/deng/anaconda3/lib/python3.7/site-packages/conda/gateways/connection/session.py", line 52, in __call__
return cls._thread_local.session
AttributeError: '_thread._local' object has no attribute 'session'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/deng/anaconda3/lib/python3.7/site-packages/conda/exceptions.py", line 1062, in __call__
return func(*args, **kwargs)
File "/home/deng/anaconda3/lib/python3.7/site-packages/conda/cli/main.py", line 84, in _main
exit_code = do_call(args, p)
File "/home/deng/anaconda3/lib/python3.7/site-packages/conda/cli/conda_argparse.py", line 82, in do_call
exit_code = getattr(module, func_name)(args, parser)
File "/home/deng/anaconda3/lib/python3.7/site-packages/conda/cli/main_install.py", line 20, in execute
install(args, parser, 'install')
File "/home/deng/anaconda3/lib/python3.7/site-packages/conda/cli/install.py", line 256, in install
force