Score:3

Can not find python3.10 after apt-get installation

ph flag

I have installed python3.10 - and verified by attempting to re-install it. There are some lib*3.10 files - but no executables:

apt-get install -f -y python3.10
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libqgispython3.10.4' for regex 'python3.10'
Note, selecting 'libpython3.10-stdlib' for regex 'python3.10'
libqgispython3.10.4 is already the newest version (3.10.4+dfsg-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
/# whereis python3.10
+ whereis python3.10
python3: /usr/bin/python3.8 /usr/bin/python3 /usr/lib/python3.8 /usr/lib/python3 /etc/python3.8 /etc/python3 /usr/local/lib/python3.8 /usr/share/python3
root@136e5fcfd4ec:/# ll /usr/lib/python
python2.7/ python3/   python3.8/

What might be going on here?

Update This is for ubuntu-20.04 . Per @steeldriver that is likely the issue: 3.10 came out after that version was released. I should probably use

$APT software-properties-common
apt add-apt-repository ppa:deadsnakes/ppa
apt update
hr flag
What is your Ubuntu version? The messages *Note, selecting ... for regex 'python3.10'* suggest that the python3.10 package is not available in your currently configured repositories and is not in fact installed
ph flag
@steeldriver You're right on- would you like to make an answer ? btw I did update the question with `20.04`
Score:3
ph flag

This is an answer on behalf of @steeldriver: if they want to add an answer I will accept theirs.

This is for ubuntu-20.04 . Per @steeldriver that is likely the issue: 3.10 came out after that version was released. I should probably use a special repo that contains all versions of python:

$APT software-properties-common
apt add-apt-repository ppa:deadsnakes/ppa
apt update
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.