actions / actions/runner

Using 2.331.0 Cannot install pip

Open
#4,198 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.3k
Forks
1.4k
Avg merge
1d 16h
Merged PRs (30d)
24

Description

When I was using older version 2.330.0 I was able to run the following commands

curl https://bootstrap.pypa.io/get-pip.py > get-pip.py
python3 get-pip.py

Now with latest version is throwing an exception
error: externally-managed-environment

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

I need pip installed for my workflow to work, can you please fix it?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported curl https://bootstrap.pypa.io/get-pip.py > get-pip.py and python3 get-pip.py commands with runner version 2.331.0, then compare the behavior with 2.330.0. Done means the documented workflow can install pip without the externally-managed-environment failure, or the issue identifies the required supported installation path.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.