pip doesn't recognize installation because of missing egg information
Bug #1639354 reported by
Luke Yeager
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pymongo (Debian) |
Fix Released
|
Unknown
|
|||
pymongo (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Triaged
|
Medium
|
Unassigned |
Bug Description
Ubuntu 16.04
pymongo 3.2-1build1
When most packages (i.e. numpy, scipy, flask, etc.) are installed with deb packages, they are installed in such a way that pip can see them. This is done by installing "*.egg-info/" directories (find /usr/lib/
pymongo doesn't do this, so pip doesn't realize it is installed and will install a second copy of the library even when it's not necessary.
# install python-pymongo package
sudo apt install python-pymongo
# the package can be imported
python -c 'import pymongo'
# but pip doesn't see it
pip search pymongo
# so pip doesn't realize that the pymongo requirement is already fulfilled
pip install pymongo
Changed in pymongo (Ubuntu): | |
status: | Expired → New |
Changed in pymongo (Debian): | |
status: | Unknown → Fix Released |
To post a comment you must log in.
I wasn't able to reproduce this.
chuck