Repository navigation
pip error: No such file or directory: '/tmp/pip-...-build/setup.py' #56
Description
Activity
Upgrading pip to the latest version has solved this issue.
Reacted by Baptiste Wicht, i !== get('it'), Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి), Tolga Cesur, 0xrubes, EL HASSSANE GARGEM, Kasper Welbers, Markus Weber, Sergey Karpov, sehe and 13 moreReacted by RavindraSinghKhichi, yuyuqi, Marcello, Max, Dr. Aboozar Taherkhani, Sakti, Done, Angela Wilson, Shankun Wang, Kongsea and 33 more@markusdr: do you happen to know which version you had and which version you upgraded to? We'd love to update our docs to indicate a minimum pip version.
It was pip 1.0 on Ubuntu 12.04. I upgraded to 7.1.2 and it worked.
The command to type is "pip install --upgrade pip", and this should be added to the instructions right after where they tell the user to "source bin/activate"
after pip install --upgrade pip
it still not work. I am using ubuntu 12.04 and pip version is 1.0Reacted by Merwanski and BroadswordZhangme too after pip upgrade its not working
how u corrected the error..my pip got upgraded correctly
- added a commit that references this issue
on Mar 9, 2016 Just like markusdr commented, update the pip using "pip install --upgrade pip", then you can check the pip version "pip2 --version", and then
"sudo pip2 install https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl", maybe it can worded.haha,I have the same problem of window system.
I have pip 9.0.1 installed and still see this error.
Reacted by Martian Lee, Vivek Shankar, Jonathan Martineau, Mohamad H. Danesh, raj1234, QuantML, luca-s, Felix Zhu, Kyle Calica, ajwimmers and 20 moreI am trying to get Lapack by
pip install http://www.netlib.org/lapack/lapack-3.7.0.tgz
and my pip still cannot find setup.pyPS... I already did pip install --upgrade pip.
Hi,
After upgrading pip (9.0.1), I get now this error by installing tensorflow (and do not find any information to fix it) - I use ubuntu 13.04.
Traceback (most recent call last):
File "/home/ypsa6500/tensorflow/bin/pip", line 9, in
load_entry_point('pip==9.0.1', 'console_scripts', 'pip')()
File "/home/ypsa6500/tensorflow/local/lib/python2.7/site-packages/pip/init.py", line 233, in main
return command.main(cmd_args)
File "/home/ypsa6500/tensorflow/local/lib/python2.7/site-packages/pip/basecommand.py", line 251, in main
timeout=min(5, options.timeout)) as session:
File "/home/ypsa6500/tensorflow/local/lib/python2.7/site-packages/pip/basecommand.py", line 72, in _build_session
insecure_hosts=options.trusted_hosts,
File "/home/ypsa6500/tensorflow/local/lib/python2.7/site-packages/pip/download.py", line 329, in init
self.headers["User-Agent"] = user_agent()
File "/home/ypsa6500/tensorflow/local/lib/python2.7/site-packages/pip/download.py", line 93, in user_agent
from pip._vendor import distro
File "/home/ypsa6500/tensorflow/local/lib/python2.7/site-packages/pip/_vendor/distro.py", line 1050, in
_distro = LinuxDistribution()
File "/home/ypsa6500/tensorflow/local/lib/python2.7/site-packages/pip/_vendor/distro.py", line 594, in init
if include_lsb else {}
File "/home/ypsa6500/tensorflow/local/lib/python2.7/site-packages/pip/_vendor/distro.py", line 933, in _get_lsb_release_info
raise subprocess.CalledProcessError(code, cmd, stdout)
subprocess.CalledProcessError: Command 'lsb_release -a' returned non-zero exit status 134I am having the same error when installing TensorFlow1.0 in RH7.2
I am installing as root and I am using the pip install method.Processing ./tensorflow-1.0.1-cp27-none-linux_x86_64.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
IOError: [Errno 2] No such file or directory: '/tmp/pip-build/setup.py'This the output to my pip - V:
pip 9.0.1 from /root/anaconda2/lib/python2.7/site-packages (python 2.7)
I have already tried pip install --upgradeThanks,
9 remaining items
pip 1.1 to upgrading it to 9.0.1 worked well for me
May be this -
pip listhelp others as well,Package Version ---------------------- --------- backports.weakref 1.0.post1 bleach 1.5.0 funcsigs 1.0.2 html5lib 0.9999999 Markdown 2.6.9 mock 2.0.0 numpy 1.13.1 pbr 3.1.1 pip 9.0.1 protobuf 3.4.0 setuptools 0.6rc11 six 1.11.0 tensorflow 1.3.0 tensorflow-tensorboard 0.1.6 Werkzeug 0.12.2 wheel 0.30.0I am having this error in
pip 19.0.1 from /usr/local/lib/python2.7/dist-packages/pip-19.0.1-py2.7.egg/pip (python 2.7)anybody having some clue in how to solve it?I am having the same error as above . Did anyone got the solution . I am not able to find any so far ?curl
- added a commit that references this issue
on Jul 31, 2019 - added a commit that references this issue
on Dec 6, 2019 I was getting the same issue, and it turned out to be the package was missing a setup.py entirely. Not sure if it's the same for everyone else tho. (pip 20.1.1)
Reacted by bonlime, talpay, Alfred Wemali, Alper Ozaydin, yang mingyang and Chihao Shen- added a commit that references this issue
on Sep 28, 2020 I was getting the same issue, and it turned out to be the package was missing a setup.py entirely. Not sure if it's the same for everyone else tho. (pip 20.1.1)
how did you fix this issue?
I have encountered this issue when I had, on a new docker, pip version 9. Upgrading it to version 21 fixed the problem.
- added 5 commits that reference this issue
on Sep 5, 2024
I'm getting the following error when trying to install on a GPU desktop using pip as described in the tensorflow setup page:
See this Stackoverflow page that discusses the problem and indicates that a
setup.pyfile is missing in the package.