pip forces re-installation of existing packets when used with --target option #2373
Labels
auto-locked
Outdated issues that have been locked by automation
C: target
pip install's --target option's behaviour handling
type: enhancement
Improvements to functionality
Hi all,
I need to install some Python modules on external SD card, as I do not have space on my embedded device. That's why I use --target option of PIP.
However, it looks like --target implies --ignore-installed, so downloading and re-installation of already installed packages is performed.
In the case of embedded device this might be unacceptable - not only that this takes a lot of time and resources, but also packets on these devices are installed via special cross-compilation systems and should be mandatory kept in this state and version.
Example:
As you can see, although I have gevent==1.0 it is re-installed (unacceptable on OpenWrt where gevent is specially cross-compiled by OpenWrt build system). Package ouimeaux requirement is here: https://github.com/iancmcc/ouimeaux/blob/master/requirements.txt#L1, which shows that I already have a good version of gevent in my system.
BR,
Drasko
The text was updated successfully, but these errors were encountered: