-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export PIP_BREAK_SYSTEM_PACKAGES=1 by default.
This avoids the error message when installing python packages, that on Ubuntu you should install the python-xxxx packages instead of using pip3 install, if possible. When that is set the error is suppressed, and one doesn't need to pass '--break-system-packages' to python manually.
- Loading branch information
1 parent
f81700f
commit 38bbcbb
Showing
3 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
images/wkdev_sdk/user_home_directory_defaults/dot-bash_profile
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
export DEBUGINFOD_URLS="https://debuginfod.ubuntu.com" | ||
|
||
# Otherwise one has to pass --break-system-packages to python, when installing custom packages. | ||
export PIP_BREAK_SYSTEM_PACKAGES=1 | ||
|
||
# wkdev-sdk integration | ||
export WKDEV_SDK=/wkdev-sdk | ||
export PATH="${WKDEV_SDK}/scripts:${WKDEV_SDK}/scripts/container-only:$(python3 -m site --user-base)/bin:${PATH}" |
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