My goal is it to install tkinter for python 3.11. I have successfully installed and used 3.11 from the deadsnakes ppa. But when I run
sudo dpkg -i python3-tk_3.11.2-3_amd64.deb
I get:
dpkg: dependency problems prevent configuration of python3-tk:amd64:python3-tk:amd64 depends on python3 (>= 3.10.8-0~); however:Version of python3 on system is 3.10.6-1~22.04.
Now I though ok I will update the python version... But:
sudo apt install python3.10Reading package lists... DoneBuilding dependency tree... DoneReading state information... Donepython3.10 is already the newest version (3.10.12-1~22.04.2).0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
And when I check my installed python version I don't see where the second python 3.10 version should be installed:
ll /usr/bin/ | grep python-rwxr-xr-x 1 root root 5913032 Jun 11 2023 python3.10*-rwxr-xr-x 1 root root 6714392 Dez 8 19:56 python3.11*lrwxrwxrwx 1 root root 34 Dez 8 19:56 python3.11-config -> x86_64-linux-gnu-python3.11-config*-rwxr-xr-x 1 root root 30337952 Dez 8 19:56 python3.11d*
python3.10 --version
also returns: Python 3.10.12
So how can I configure my system that, dpkg checks that there is a valid python installation?
I also created already a symlink so that python
maps to python3.11
Thank you in advance