Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2905

Python 3.8 + Pip on WSL

$
0
0

I've being looking around on the internet and either nobody else has this problem, or nobody else can solve it. I used the deadsnake repository to use Python 3.8, which seems to work, but when I try to get pip it starts complaining about not having distutils.cmd. This is WSL Ubuntu 22.04. There shouldn't be a *.cmd anything.

Online everybody who claims to know tells me use apt install python3-pip. This just installs python3.10 even though the article was about getting python3.8. Everywhere I look specifically for how to do it on WSL, they just pretend pip doesn't exist (which is a pattern I hate seeing when I can't solve a problem because it makes me think I'm wasting my time doing something impossible).

Here is the main article I was following: https://www.linuxcapable.com/install-python-3-8-on-ubuntu-linux/#:~:text=Install%20Python%20PIP%20with%203.8%20on%20Ubuntu%20Linux,the%20following%20APT%20command.%20sudo%20apt%20install%20python3-pip

Does anyone know a way to fix this?


Viewing all articles
Browse latest Browse all 2905

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>