Skip to content

build.yml: fix error: externally-managed-environment#2453

Merged
xiaoxiang781216 merged 1 commit intoapache:masterfrom
simbit18:simbit18-fixpip3
Jul 29, 2024
Merged

build.yml: fix error: externally-managed-environment#2453
xiaoxiang781216 merged 1 commit intoapache:masterfrom
simbit18:simbit18-fixpip3

Conversation

@simbit18
Copy link
Copy Markdown
Contributor

@simbit18 simbit18 commented Jul 29, 2024

Summary

job msys2 fix
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try 'pacman -S
python-xyz', where xyz is the package you are trying to
install.

If you wish to install a non-MSYS2-packaged Python package,
create a virtual environment using 'python -m venv path/to/venv'.
Then use path/to/venv/bin/python and path/to/venv/bin/pip.
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

see this PR apache/nuttx#12788

Impact

none

Testing

CI

@xiaoxiang781216 xiaoxiang781216 merged commit 366d8db into apache:master Jul 29, 2024
@simbit18 simbit18 deleted the simbit18-fixpip3 branch July 29, 2024 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants