DeepLearning-Image
DeepLearning-Image copied to clipboard
pip install of tensorflow doesn't seem to work
I'm on a Mac OS 10.10.5 I installed Anaconda Python 3.5 from scratch Created tensorflow environment Ran pip install as indicated
In python (or ipython), I get the following results:
(tensorflow) mhearne@igskcicgltgm007 ~ $ python Python 3.5.2 | packaged by conda-forge | (default, Jul 7 2016, 12:53:03) [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.54)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import tensorflow as tf Traceback (most recent call last): File "
", line 1, in ImportError: No module named 'tensorflow'
This was the result of the pip install command:
pip install --upgrade $TF_BINARY_URL Collecting tensorflow==0.9.0 from https://storage.googleapis.com/tensorflow/mac/tensorflow-0.9.0-py3-none-any.whl Using cached https://storage.googleapis.com/tensorflow/mac/tensorflow-0.9.0-py3-none-any.whl Requirement already up-to-date: wheel>=0.26 in ./miniconda3/envs/tensorflow/lib/python3.5/site-packages (from tensorflow==0.9.0) Collecting six>=1.10.0 (from tensorflow==0.9.0) Downloading six-1.10.0-py2.py3-none-any.whl Collecting numpy>=1.10.1 (from tensorflow==0.9.0) Downloading numpy-1.11.1-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.9MB) 100% |████████████████████████████████| 3.9MB 202kB/s Collecting protobuf==3.0.0b2 (from tensorflow==0.9.0) Using cached protobuf-3.0.0b2-py2.py3-none-any.whl Collecting setuptools (from protobuf==3.0.0b2->tensorflow==0.9.0) Using cached setuptools-24.0.2-py2.py3-none-any.whl Installing collected packages: six, numpy, setuptools, protobuf, tensorflow Found existing installation: setuptools 23.0.0 Cannot remove entries from nonexistent file /Users/mhearne/miniconda3/envs/tensorflow/lib/python3.5/site-packages/easy-install.pth
Looks like this issue has surfaced before for tensorflow.
Can you please try this: https://github.com/tensorflow/tensorflow/issues/135
Here are some links that refer to this issue: https://github.com/tensorflow/tensorflow/issues/622 https://github.com/pypa/pip/issues/2751 https://github.com/ContinuumIO/anaconda-issues/issues/542 https://github.com/pypa/setuptools/issues/605