-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change: Don't use
--prefix
argument with pip
Using the `--prefix` argument is broken with newer pip versions and at least Python 3.10. The distros are patching CPython's sysconfig module which breaks our expected behavior if the `--prefix` argument . Because the default install prefix is already `/usr/local` we just can remove the `--prefix` argument to circumvent the bug. See the following links for details: * pypa/pip#11651 * pypa/pip#10978 * https://discuss.python.org/t/linux-distro-patches-to-sysconfig-are-changing-pip-install-prefix-outside-virtual-environments/18240
- Loading branch information
1 parent
1024f5c
commit ff88611
Showing
3 changed files
with
3 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters