-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI failing when updating pip
and setuptools
#159
Comments
Here is the full error message: Run python3 -m pip install pip setuptools --upgrade
11 error: externally-managed-environment
12
13 × This environment is externally managed
14 ╰─> To install Python packages system-wide, try brew install
15 xyz, where xyz is the package you are trying to
16 install.
17
18 If you wish to install a Python library that isn't in Homebrew,
19 use a virtual environment:
20
21 python3 -m venv path/to/venv
22 source path/to/venv/bin/activate
23 python3 -m pip install xyz
24
25 If you wish to install a Python application that isn't in Homebrew,
26 it may be easiest to use 'pipx install xyz', which will manage a
27 virtual environment for you. You can install pipx with
28
29 brew install pipx
30
31 You may restore the old behavior of pip by passing
32 the '--break-system-packages' flag to pip, or by adding
33 'break-system-packages = true' to your pip.conf file. The latter
34 will permanently disable this error.
35
36 If you disable this error, we STRONGLY recommend that you additionally
37 pass the '--user' flag to pip, or set 'user = true' in your pip.conf
38 file. Failure to do this can result in a broken Homebrew installation.
39
40 Read more about this behavior here: <https://peps.python.org/pep-0668/>
41
42 note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at te risk of breaking your Python installation or OS, by passing --break-system-packages.
43 hint: See PEP 668 for the detailed specification.
44 Error: Process completed with exit code 1. It looks like we can get around the problem by using |
Thanks! I saw the message but wasn’t sure if |
Yes, I agree. |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @johannesring
I noticed that CI is failing due to
VaSP/.github/workflows/check_and_test_package.yml
Lines 35 to 36 in 5a13e67
Do you have an idea how to fix this issue?
Best,
Kei
The text was updated successfully, but these errors were encountered: