python - OSError: [Errno 13] Permission denied installing TensorFlow with Anaconda -
i followed instruction tensorflow's official site:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.8.0-py2-none-any.whl
but got error:
oserror: [errno 13] permission denied: '/users/myname/anaconda/lib/python2.7/site-packages/external/__init__.py'
after re-insalling anaconda, got different error
installing collected packages: setuptools, protobuf, numpy, tensorflow found existing installation: setuptools 20.3 cannot remove entries nonexistent file /anaconda/lib/python2.7/site-packages/easy-install.pth
pip install --upgrade --ignore-installed https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.10.0-cp35-cp35m-linux_x86_64.whl
use "--ignore-installed" flag prevent errors easy_install.
Comments
Post a Comment