mitsuhiko / pipsi

pip script installer
Other
2k stars 133 forks source link

Python upgrades make environments unusable #170

Open mweinelt opened 6 years ago

mweinelt commented 6 years ago

I just upgraded python 3.6.6 to 3.7 on archlinux and that made all virtualenvs unusable, because their python binary was looking for a libpython that was not there anymore.

/home/hexa/.local/venvs/borgbackup/bin/python: error while loading shared libraries: libpython3.6m.so.1.0: cannot open shared object file: No such file or directory

It would be nice for a reinstall method that recreates all virtualenvs from scratch.

cs01 commented 5 years ago

I recently started a project called pipx that combines pipsi's functionality with npx's. You can reinstall all packages with a different python version with

pipx reinstall-all PYTHON

Would love to hear what you think! https://github.com/cs01/pipx