在mac终端中,用conda创建虚拟环境时,出现以下提示:
~ % conda create --name gat python=3.5.2
Collecting package metadata (current_repodata.json): done
Solving environment: done
~ %
即直接结束,无法安装。
用 conda clean --all 查看,在缓存文件夹 Cache location: xxx/.conda/pkgs 或者 xxx/opt/anaconda3/pkgs 里,有 python-3.5.4-0 ,因为以前在conda下载包的过程中被中止了,造成无向的缓存。
Cache location: /Users/yeziand01/opt/anaconda3/pkgs
Will remove the following tarballs:
/Users/yeziand01/opt/anaconda3/pkgs
-----------------------------------
jinja2-2.9.6-py35_0 1.6 MB
python-3.5.4-0 41.3 MB
ipykernel-4.6.1-py35_0 603 KB
widgetsnbextension-3.0.2-py35_0 12.2 MB
anaconda-client-1.6.3-py35_0 640 KB
blas-1.0-mkl 14 KB
html5lib-0.9999999-py35_0 904 KB
jedi-0.10.2-py35_2 1.1 MB
pip-9.0.1-py34_1 6.4 MB
ipython_genutils-0.2.0-py35_0 157 KB
nbpresent-3.0.2-py35_0 1.8 MB
pytz-2017.2-py35_0 1.0 MB
six-1.10.0-py35_0 57 KB
jupyter_client-5.1.0-py35_0 556 KB
certifi-2016.2.28-py27_0 672 KB
appnope-0.1.0-py35_0 11 KB
wcwidth-0.1.7-py35_0 74 KB
pickleshare-0.7.4-py35_0 24 KB
jsonschema-2.6.0-py35_0 301 KB
decorator-4.1.2-py35_0 59 KB
bleach-1.5.0-py35_0 61 KB
ipython-6.1.0-py35_0 4.2 MB
docutils-0.16-py37_0 3.1 MB
yaml-0.1.6-0 501 KB
simplegeneric-0.8.1-py35_1 20 KB
pexpect-4.2.1-py35_0 323 KB
entrypoints-0.2.3-py35_0 39 KB
mistune-0.7.4-py35_0 707 KB
ptyprocess-0.5.2-py35_0 92 KB
_nb_ext_conf-0.4.0-py35_1 24 KB
pyyaml-3.12-py35_0 567 KB
jupyter_core-4.3.0-py35_0 329 KB
clyent-1.2.2-py35_0 48 KB
wheel-0.29.0-py35_0 290 KB
testpath-0.3.1-py35_0 64 KB
pandocfilters-1.4.2-py35_0 51 KB
traitlets-4.3.2-py35_0 659 KB
path.py-10.3.1-py35_0 222 KB
python-dateutil-2.6.1-py35_0 556 KB
markupsafe-1.0-py35_0 91 KB
pyzmq-16.0.2-py35_0 2.4 MB
terminado-0.6-py35_0 61 KB
ipywidgets-6.0.0-py35_0 318 KB
notebook-5.0.0-py35_0 21.4 MB
tornado-4.5.2-py35_0 3.0 MB
pygments-2.2.0-py35_0 5.5 MB
prompt_toolkit-1.0.15-py35_0 1.6 MB
nb_conda-2.2.0-py35_0 175 KB
setuptools-36.4.0-py35_1 2.1 MB
certifi-2016.2.28-py35_0 672 KB
nb_conda_kernels-2.1.0-py35_0 97 KB
requests-2.14.2-py35_0 2.7 MB
nbformat-4.4.0-py35_0 599 KB
nb_anacondacloud-1.4.0-py35_0 125 KB
pip-9.0.1-py35_1 6.4 MB
nbconvert-5.2.1-py35_0 1.4 MB
---------------------------------------------------
Total: 129.8 MB
conda clean --all #清理无用的包或安装包
https://blog.csdn.net/qq_41373854/article/details/106200588