lundi 21 avril 2014

python - je peux forcer pip pour réinstaller la version actuelle ? -Débordement de pile


I've come across situations where a current version of a package seems not to be working and requires reinstallation. But pip install -U won't touch a package that is already up-to-date. I see how to force a reinstallation by first uninstalling (with pip uninstall) and then installing, but is there a way to simply force an "update" to a nominally current version in a single step?




--force-reinstall

When upgrading, reinstall all packages even if they are already up-to-date.


-I, --ignore-installed

Ignore the installed packages (reinstalling instead).




--force-reinstall

doesn't appear to force reinstall using python2.7 with pip-1.5


I've had to use


--no-deps --ignore-installed


I've come across situations where a current version of a package seems not to be working and requires reinstallation. But pip install -U won't touch a package that is already up-to-date. I see how to force a reinstallation by first uninstalling (with pip uninstall) and then installing, but is there a way to simply force an "update" to a nominally current version in a single step?



--force-reinstall

When upgrading, reinstall all packages even if they are already up-to-date.


-I, --ignore-installed

Ignore the installed packages (reinstalling instead).



--force-reinstall

doesn't appear to force reinstall using python2.7 with pip-1.5


I've had to use


--no-deps --ignore-installed

0 commentaires:

Enregistrer un commentaire