Jump to content

Heya community.

 

I need your help with python3.10

 

  • I've tried to installing from source and install on debian with make which it failed and overwrote my existing python and it broke.

Installed ubuntu server instead (python3 newest already installed) then installed ppa from reddit then succeeded to install python3.10 and able to switch with update-alternative to older version so that's succes.

 

However I'm missing pip and venv so I've tried to install those by using 

python3 -m ensurepip

However the module isn't there so after that I've succeeded to install through curl from the source but that seems broken because pip just spits error which i would believe it's not the right version for 3.10.

 

So... Any python experts here that is able to help?

 

I've tried google and chatgpt by numerous times till i got mad and took a break so instead continuing I'm asking help here.

I'm jank tinkerer if it works then it works.

Regardless of compatibility 🐧🖖

Link to post
Share on other sites

Did you try

sudo apt install python3-pip

to install pip?

Also

sudo apt install python3-venv

to install venv?

Maybe python is a bit borked and installing it with apt would work instead? Im not an expert in python really, just an idea.

Link to post
Share on other sites

What you should not do is what I did when I was trying to get a dumb CS project working and did 

sudo apt purge python -f

which utterly REAMED my install. Turns out a lot of Ubuntu runs on python 😕
I did actually bring it back up and got it working enough to continue to be my NAS for 7 years.

5950X/4090FE primary rig  |  1920X/1070Ti Unraid for dockers  |  200TB TrueNAS w/ 1:1 backup

Link to post
Share on other sites

4 hours ago, CentreMetre said:

Did you try

sudo apt install python3-pip

to install pip?

Also

sudo apt install python3-venv

to install venv?

Maybe python is a bit borked and installing it with apt would work instead? Im not an expert in python really, just an idea.

Yes but that's latest version and it installed on latest python3 which is why this is causing headache for some people.

2 hours ago, apoyusiken said:

good luck

Thanks, I'm sure I'll find the way for easy install later.

 

30 minutes ago, OddOod said:

What you should not do is what I did when I was trying to get a dumb CS project working and did 

sudo apt purge python -f

which utterly REAMED my install. Turns out a lot of Ubuntu runs on python 😕
I did actually bring it back up and got it working enough to continue to be my NAS for 7 years.

Thank you, i did try that but that's when there was broken packages quite funny tbh.

 

I probably should find distro that has no python installed by default.

I'm jank tinkerer if it works then it works.

Regardless of compatibility 🐧🖖

Link to post
Share on other sites

44 minutes ago, ieleja said:

I think, that at first you must understand Python virtual environments and how this interacts with your systems global system python

 

Well yes if if I'm able to install venv and on version python3.10 then yes i know how to use it. 

 

Please read the thread I've mentioned that I can't install pip and venv on older version because it's missing the module.

 

I'm looking for help to install python3.10 and pip and lastly venv. Instead latest version.

 

Or correcting me if I'm wrong.

I'm jank tinkerer if it works then it works.

Regardless of compatibility 🐧🖖

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×