Skip to content
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

pip install failing in linux-musl in outerloop #15452

Open
carlossanlop opened this issue Jan 24, 2025 · 3 comments
Open

pip install failing in linux-musl in outerloop #15452

carlossanlop opened this issue Jan 24, 2025 · 3 comments

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Jan 24, 2025

I am seeing this pip install error in some runtime-libraries-coreclr outerloop tests. Is this in our infra, or should we transfer this to arcade?
Edit: Confirmed. Transferring to arcade.

[BEGIN EXECUTION]
+ sudo python -m pip install --disable-pip-version-check -r /root/helix/scripts/runtime_python_requirements.txt
error: externally-managed-environment

× This environment is externally managed
╰─> 
    The system-wide python installation should be maintained using the system
    package manager (apk) only.
    
    If the package in question is not packaged already (and hence installable via
    "apk add py3-somepackage"), please consider installing it inside a virtual
    environment, e.g.:
    
    python3 -m venv /path/to/venv
    . /path/to/venv/bin/activate
    pip install mypackage
    
    To exit the virtual environment, run:
    
    deactivate
    
    The virtual environment is not deleted, and can be re-entered by re-sourcing
    the activate file.
    
    To automatically manage virtual environments, consider using pipx (from the
    pipx package).

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.
Copy link

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@jkoritzinsky
Copy link
Member

This is a dnceng/helix issue. That file is provided by the Helix scripts.

@carlossanlop
Copy link
Member Author

Thanks for the confirmation. Transferring.

@carlossanlop carlossanlop transferred this issue from dotnet/runtime Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants