简体   繁体   English

OSError:[Errno 13]权限被拒绝与Anaconda安装TensorFlow

[英]OSError: [Errno 13] Permission denied installing TensorFlow with Anaconda

I followed the instruction from TensorFlow's official site: 我遵循TensorFlow官方网站上的指示:

sudo pip install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.8.0-py2-none-any.whl

But I got this error: 但是我得到了这个错误:

OSError: [Errno 13] Permission denied:

'/Users/myname/anaconda/lib/python2.7/site-packages/external/__init__.py'

After re-insalling anaconda, got a different error 重新安装水蟒后,出现了另一个错误

Installing collected packages: setuptools, protobuf, numpy, tensorflow
  Found existing installation: setuptools 20.3
Cannot remove entries from 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

使用“ --ignore-installed”标志来防止有关easy_install的错误。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM