`--no-clean` doesn't work when installing from local paths or dists
See original GitHub issue--no-clean doesn’t work when installing from local projects or local dists
e.g. the following don’t work
pip install --no-clean someprojectdir/
pip install --no-clean someproject-1.3.tar.gz
for an example, see https://github.com/pypa/pip/pull/2689#issuecomment-93604421 (this is a tox example, where tox installs from a local zip file)
Issue Analytics
- State:
- Created 8 years ago
- Reactions:5
- Comments:7 (5 by maintainers)
Top Results From Across the Web
wheel pollutes project folder with build & project.egg-info
I use the pip install c:\path\to\project command to install my local package ... There is a pip install flag --no-clean Don't clean up...
Read more >pip install all wheels in directory - You.com | The AI Search ...
pip install --no-index --find-links /path/to/wheel/dir/ pkg2. Open side panel. Install all whl files from a directory. Asked May 1, 2019 • 4 votes...
Read more >Troubleshooting Omnibus GitLab installation issues
To our knowledge there is no clean way to install Debian or RPM packages as a non-privileged user. You cannot install Omnibus GitLab...
Read more >pip Documentation
Install from local copies of pip and setuptools: ... For instance, say that the “helloworld” package doesn't work in your environment, ...
Read more >Changelog - pip documentation v22.3.1
Add --dry-run option to pip install , to let it print what it would install but not ... Ignore .dist-info directories if the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’m having problems using --no-clean at all, not just when installing from local paths. For example
The final output is:
And nothing is left in
/tmp/pip-build-_yORAp/. The same happens if I use--buildto specifiy another directory to download into. This is with:Are there any plans to fix this? The only related activity so far is closing another issue (#4679) as a duplicate of this one. I see the same problem with pip 9.0.1, python 3.6.