TensorFlow入门

安装:
sudo pip install --upgrade https://storage.googleapis.com/tensorflow/mac/tensorflow-0.8.0-py2-none-any.whl
或者:
pip install --upgrade numpy
时,遇到问题:
OSError: [Errno 1] Operation not permitted: '/var/folders/46/5hcq8p4d3hj_r5ct4fr94kk80000gn/T/pip-lM53O1-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/numpy-1.8.0rc1-py2.7.egg-info'

解决方案:
sudo pip install numpy --upgrade --ignore-installed
搞定

你可能感兴趣的:(TensorFlow入门)