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
I'm using virtual-env to install tensorflow. I've successfully created a virtual-env and when trying to install tensorflow using pip, i'm getting this error.
Any suggestions ?? Thanks.
Unpacking /home/ayan/Desktop/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
Running setup.py egg_info for package from file:///home/ayan/Desktop/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
Traceback (most recent call last):
File "<string>", line 16, in <module>
IOError: [Errno 2] No such file or directory: '/tmp/pip-ULRUTP-build/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
IOError: [Errno 2] No such file or directory: '/tmp/pip-ULRUTP-build/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /tmp/pip-ULRUTP-build
Storing complete log in /home/ayan/.pip/pip.log
But, as seen below, updating pip did not work for spiderhacker, so I am striking out the rest of this comment. -2015 Nov 13 23:45 UTC
What version of pip are you using (type "pip --version") If you see a version less than 1.5.6, type "pip install --upgrade pip" within your virtualenv to get it to update itself. I did this in my system and it worked (but I'm on Mac, so you still need to try it and comment here to tell if it worked)
That's kind of odd, since I got it to work in Python 2.7.3. (And it fixed my version of the bug )
Was virtualenv still activated in your shell session? To be clear, the full command sequence would be:
# assuming we want to be working within ~/tensorflow
virtualenv --system-site-packages ~/tensorflow
cd ~/tensorflow
source bin/activate
# we are now "inside the virtual environment", and ./bin is at the beginning of $PATH
pip --version # Here I had version 1.1
pip install --upgrade pip
pip --version # ...and now it says 7.1.2
# In the following use "/cpu/" or "/gpu" as desired
pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl
# (we would continue with tensorflow setup/testing here)
# when done, we could exit the shell completely, or just leave virtualenv with this command:
deactivate
# Now the prompt and $PATH are back to normal
Activity
mrob27 commentedon Nov 11, 2015
Also happens on Mac: #46
Also reported on stackexchange: http://stackoverflow.com/questions/33623453/pip-installation-error-no-such-file-or-directory-setup-py where they claim that "with python 2.7.10, python-dev and pip 1.5.6, tensorflow will be successfully installed using the pip method."
But, as seen below, updating pip did not work for spiderhacker, so I am striking out the rest of this comment. -2015 Nov 13 23:45 UTC
What version of pip are you using (type "pip --version")If you see a version less than 1.5.6, type "pip install --upgrade pip" within your virtualenv to get it to update itself.I did this in my system and it worked (but I'm on Mac, so you still need to try it and comment here to tell if it worked)mrob27 commentedon Nov 12, 2015
That's kind of odd, since I got it to work in Python 2.7.3. (And it fixed my version of the bug )
Was virtualenv still activated in your shell session? To be clear, the full command sequence would be:
mrob27 commentedon Nov 13, 2015
Darn, I'm out of ideas. But I will edit my comment above to remove the suggestion that "this worked for me so it should work for you".
vincentvanhoucke commentedon Dec 13, 2015
Did this issue get resolved? A lot of things have changed with 0.6.0.
Clean up build trip count analysis method - avoid mutating IR
Clean up build trip count analysis method - avoid mutating IR