You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing "pip install --upgrade pip" in instructions leads to bogus error "No such file or directory ... setup.py" #46
I set up a virtualenv and ran ./bin/activate then tried the install command:
(tensorflow) $ ./bin/pip install https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
Downloading/unpacking https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
Downloading tensorflow-0.5.0-py2-none-any.whl (9.8Mb): 9.8Mb downloaded
Running setup.py egg_info for package from https://storage.googleapis.com/tensorflow/mac/tensorflow-0.5.0-py2-none-any.whl
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/var/folders/gQ/gQ784XlzFBu-AAhgOvz4Ek+++TI/-Tmp-/pip-emt5Bl-build/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/var/folders/gQ/gQ784XlzFBu-AAhgOvz4Ek+++TI/-Tmp-/pip-emt5Bl-build/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /var/folders/gQ/gQ784XlzFBu-AAhgOvz4Ek+++TI/-Tmp-/pip-emt5Bl-build
Storing complete log in /Users/munafo/.pip/pip.log
(tensorflow) $ ls -l /var/folders/gQ/gQ784XlzFBu-AAhgOvz4Ek+++TI/-Tmp-/pip-emt5Bl-build/tensorflow/tools/pip_package/setup.py
-rw-r--r-- 1 munafo staff 2574 Nov 9 17:41 /var/folders/gQ/gQ784XlzFBu-AAhgOvz4Ek+++TI/-Tmp-/pip-emt5Bl-build/tensorflow/tools/pip_package/setup.py
(tensorflow) $
As shown in the session, there is no /var/folders/gQ/gQ784XlzFBu-AAhgOvz4Ek+++TI/-Tmp-/pip-emt5Bl-build/setup.py, but there is a /var/folders/gQ/gQ784XlzFBu-AAhgOvz4Ek+++TI/-Tmp-/pip-emt5Bl-build/tensorflow/tools/pip_package/setup.py
So I suspect pip is failing to interpolate the subdirectory tensorflow/tools/pip_package into the path when trying to launch setup.py.
Here is another report of the same problem on Linux (the question asker is trying to install tensorflow-0.5.0-cp27-none-linux_x86_64.whl , and a comment was added by a user who has Ubuntu 12.04)
changed the title [-]Mac: tensorflow-0.5.0-py2-none-any.whl attempts to run setup.py from wrong path[/-][+]Mac: tensorflow-0.5.0-py2-none-any.whl attempts to run setup.py from wrong path (also seen in Linux)[/+]on Nov 10, 2015
changed the title [-]Mac: tensorflow-0.5.0-py2-none-any.whl attempts to run setup.py from wrong path (also seen in Linux)[/-][+]Missing "pip install --upgrade pip" in instructions leads to bogus error "No such file or directory ... setup.py"[/+]on Nov 11, 2015
Activity
[-]Mac: tensorflow-0.5.0-py2-none-any.whl attempts to run setup.py from wrong path[/-][+]Mac: tensorflow-0.5.0-py2-none-any.whl attempts to run setup.py from wrong path (also seen in Linux)[/+]mrob27 commentedon Nov 11, 2015
I fixed it by typing "pip install --upgrade pip" in the virtualenv (i.e. right after typing "source ./bin/activate"
This needs to be added to the instructions
[-]Mac: tensorflow-0.5.0-py2-none-any.whl attempts to run setup.py from wrong path (also seen in Linux)[/-][+]Missing "pip install --upgrade pip" in instructions leads to bogus error "No such file or directory ... setup.py"[/+]craigcitro commentedon Nov 12, 2015
Yes -- thanks @mrob27 for figuring out the right fix; we've updated the docs and these instructions will be in the next push.
(Closing, reopen if needed.)
Merge pull request tensorflow#54 from google/python31
Merge pull request tensorflow#46 from lissyx/avx-only
Merge pull request tensorflow#46 from parallelo/fix_hip_pr457-paralle…