|
|
|
|
|
by mharig
1213 days ago
|
|
When I switched to Arch Linux, I learned that pip has a --user option to install Python packages in the home dir of the current user. This is essential to not interfere with the system install from the system package manager. I had really trouble with that in former times. Furthermore, as I now be used to bleeding edge packages, I update at least once a week all the outdated Python packages of my >450 installed ones.
When some packages get downgraded because of requirements, I ask:
Do I need the package that caused the downgrade more often or with more of the packages in the main environment, or is this true for one or some of the downgraded packages? According to the answer, I put the 'problematic' package(s) in a new or existing venv, and update the downgraded ones in the main environment, if necessary. This work cannot be done by a package manager! Costs me <10 minutes every week to keep the main environment up to date, a bit more if I want that for some or all venvs. |
|