inconsistent uninstall/install behavior
See original GitHub issue- Pip version: 9.0.1
- Python version: 2.7
- Operating system: Linux
Description:
I’m trying to install numpy from a local git repo, after first manually uninstalling it to work around another pip issue. It looks like the metadata for installed packages that pip keeps is used in a way that allows inconsistencies - it tells me both that numpy is not installed and that it is installed.
What I’ve run:
pip uninstall numpy
...
Proceed (y/n)? y
Successfully uninstalled numpy-1.13.0
$ pip uninstall numpy
Cannot uninstall requirement numpy, not installed
$ pip install . --user
Processing /home/rgommers/Code/numpy
Requirement already satisfied (use --upgrade to upgrade): numpy==1.13.0 from file:///home/rgommers/Code/numpy in /home/rgommers/Code/numpy
Forcing an upgrade succeeds, but the above is still a real issue.
$ pip install . --user -U
Processing /home/rgommers/Code/numpy
Installing collected packages: numpy
Running setup.py install for numpy ... done
Successfully installed numpy-1.13.0
Issue Analytics
- State:
- Created 6 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
ADLDS unattended install: Inconsistent behavior after installing ...
I manually uninstall the instance each time I want to try a different kind of install. (Using Control Panel / Programs and Features)....
Read more >Inconsistent MSI behavior - installation - Stack Overflow
We use InstallAware 18. I've noticed some inconsistent behavior. Installation Context changes without my knowing. If ...
Read more >Patch behavior inconsistent with full installer behavior
So, it seems that when I use the patch to upgrade 1.0.0 to 1.0.1, and then uninstall, this logic hasn't been updated, so...
Read more >Incompatible Software Found error on Trend Micro for Windows
Click the Start , then go to Settings > Apps > Apps & Features. · Click the program mentioned on the error message,...
Read more >Update via MSI - An incompatible TeamViewer package was ...
Not quite sure at which point your issue is related to mine, as you're already uninstalling the old msi prior installing the new...
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
FWIW, I just tried out
pip install .
,python setup.py install
andpython setup.py develop
for a basic packagefoo
;pip uninstall foo
detected and uninstalled them one by one over 3 runs.Solved with
pip install --upgrade --force-reinstall --user scikit-learn
. I simply added the--user
flag.