我遵循了TensorFlow官方网站的指示:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.8.0-py2-none-any.whl
但我收到了这个错误:
OSError: [Errno 13] Permission denied:
'/Users/myname/anaconda/lib/python2.7/site-packages/external/__init__.py'
重新测试anaconda后,出现了不同的错误
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
答案 0 :(得分:2)
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的错误。