Install via PIP
I'm here to install with PIP, so install PIP first
Open the terminal and run the command line:
will be able to install PIP successfully.
The tutorial says in the terminal input
Pip Install TensorFlow
You can install the CPU version of the TensorFlow.
However, and strange, my computer tried a lot of methods, the installation will be error.
Finally on the Internet to check the information, found that it can be installed correctly.
Pip Install TensorFlow--ignore-installed Six
pip installI encountered this error when I installed some Python packages because these packages need to rely on six, and when we install six, we find that the system already has a six-1.4.1 but does not have permission to uninstall it, so we cannot install the new version. six-1.4.1 is the system built-in packages, because of system integration protection you are not authorized to modify/system/library/frameworks/python.framework/versions/2.7/extras/ The Lib/python/six-1.4.1-py2.7.egg-info directory. (Copy from Reference link 2)
VIRTUALENV-based installation
There is also a way to install based on virtualenv
If the above method still does not solve your problem, you can try this installation method.
However, this installation method is relatively cumbersome. There are detailed installation methods in the TensorFlow Chinese tutorial. It's not moving here.
Reference links
Http://www.tensorfly.cn/tfdoc/get_started/os_setup.html
TensorFlow Chinese Course
Http://www.bkjia.com/Pythonjc/1231665.html
Pip Install error
Install TensorFlow under Mac OS