forked from rogerbinns/apsw
-
Notifications
You must be signed in to change notification settings - Fork 0
Simultaneous installation
Roger Binns edited this page Jun 13, 2024
·
1 revision
pip happily lets you install different projects that provide the same package. For example you can install both apsw
and apsw-sqlite3mc
even though they provide the same apsw
package. There is no way of detecting or preventing this.
The current semantics are that the most recently installed "wins".
You can use pip uninstall to remove a project.
pip install will not install a project that is already considered installed and the desired version. You can use the --force-reinstall option to force a reinstall.
# apsw is already installed, we want apsw-sqlite3mc to override
$ python3 -m pip install --force-reinstall apsw-sqlite3mc
# now we want to regular apsw to have priority
$ python3 -m pip install --force-reinstall apsw