我正在尝试访问conda虚拟环境,但是任何conda命令都会给出:
$ conda env list
Traceback (most recent call last):
File "/s2/scr/miniconda3/bin/conda", line 13, in <module>
sys.exit(main())
File "/s2/scr/miniconda3/lib/python3.7/site-packages/conda/cli/main.py", line 149, in main
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 724, in exec_module
File "<frozen importlib._bootstrap_external>", line 859, in get_code
File "<frozen importlib._bootstrap_external>", line 917, in get_data
OSError: [Errno 5] Input/output error
pip命令给出:
$ pip list
bash: /s2/scr/miniconda3/bin/pip: Input/output error
python似乎工作正常。
谷歌搜索此问题似乎表明潜在的磁盘问题。 尝试以下建议: input/output error” when trying to install 导致警告
$ fsck -c /s2
fsck from util-linux 2.29.2
e2fsck 1.42.11 (09-Jul-2014)
/dev/sdb1 is mounted.
WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.
我正在尝试远程运行某些内容,并且没有访问这里建议的消息的权限: Every command line I try shows the Input/output error
答案 0 :(得分:1)
我遇到了同样的问题,我不得不完全删除我的anaconda3
文件夹,然后再次下载anaconda3。