我正在Mac Yosemite上运行anaconda2(公寓4.3.15)。我正在尝试创建一个python2公寓环境。但是,当我尝试创建一个conda虚拟环境时,我得到IOError:[Errno 13]权限被拒绝如下:
`$ conda create --name datasci python = 2.7 numpy pandas scipy matplotlib scikit-learn nltk ipython-notebook python-igraph
Fetching package metadata ...An unexpected error has occurred.
Please consider posting the following information to the
conda GitHub issue tracker at:
https://github.com/conda/conda/issues
Current conda install:
platform : osx-64
conda version : 4.3.15
conda is private : False
conda-env version : 4.3.15
conda-build version : not installed
python version : 2.7.13.final.0
requests version : 2.12.4
naconda_client.py", line 40, in read_binstar_tokens
with open(tkn_file) as f:
IOError: [Errno 13] Permission denied: u'/Users/xxxxx/Library/Application Support/binstar/https%3A%2F%2Fapi.anaconda.org.token `
似乎conda的新版本总是需要sudo。即使做'conda update conda。
提一下我已经为单个用户安装了Anaconda(用于python 2.7)。
任何帮助都会非常感激。