-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.8/dist-packages/setuptools-47.3.1.post20200622-py3.8.egg' #8476
Comments
Can you share the content of |
May I ask which command is failing in your provided excerpt of Dockerfile. Also I tried the commands in Mac OSX on python 3.8.2, but couldn't reproduce the error. Install Log:
|
The last one ( |
Worked around the issue with the following piece of bad code: git clone --depth=1 https://github.com/pypa/setuptools.git;
git clone --depth=1 https://github.com/pypa/pip.git;
git clone --depth=1 https://github.com/pypa/wheel.git;
cd ./setuptools;
python3 ./bootstrap.py;
python3 ./setup.py bdist_wheel; # here it works without `wheel` package installed, but later it doesn't without `wheel`
cd ../pip/src;
ln -s ../../wheel/wheel ./wheel;
python3 -m pip install --upgrade --pre ../../setuptools/dist/*.whl;
python3 -m pip install --upgrade --pre ..;
cd ../../wheel;
pip3 install --upgrade --pre .;
cd ..; |
Was searching around and found this issue, it may or may not be related, but in case it's useful: I have seen this happen in situations where there is a non-standard |
Yeah, that’s what happened in the initial report as well (there’s a stray |
Environment
sid
https://gitlab.com/KOLANICH-subgroups/docker-images/fixed_python/-/jobs/605338717
Description
I install setuptools and pip from git:
Expected behavior
Should install.
How to Reproduce
https://gitlab.com/KOLANICH-subgroups/docker-images/fixed_python/-/blob/1e5e1f212539d723c022bc01fcf7d7e9903d7b64/Dockerfile
Output
The text was updated successfully, but these errors were encountered: