You are not logged in.
Pages: 1
Been delaying my Q4OS 6 installation because there are a few AI/ML python packages i use, which are not yet ready for python 3.13 which debian Trixie uses.
I do remember trying to compile python 3.9 on my Q4OS 5 installation back in the day but it was a too long of a process and I don't really wanna go through that again.. i also don't want to multiboot various q4oses..
Is there any way to install python 3.12 or 3.11 in like /opt/python3.xx (so it doesn't break the base system) without needing to compile from source? Like is there any PPA which could maybe work out for me? If I need to compile nevertheless, how do I skip extras like python test suite n stuff..? I just need a python installation so I can code in peace, after it finishes I'd just run it in latest raspberry pi os (debian bookworm; python 3.12) on a 3b+
This is the only thing keeping me from trying Q4OS 6 which I was so impatiently waiting for, any help would be appreciated!
Coding & Robotics Enthusiast | Brave & Spck Editor @ Lenovo Tab 4 8 · Android 8.1 · 2GB · 16GB
Offline
I just need a python installation so I can code in peace, after it finishes I'd just run it in latest raspberry pi os (debian bookworm; python 3.12) on a 3b+
If you really just want to code, you don't need any python installation.
Otherwise, since you can't install missing packages from Debian 13 repos, you might try to install them using `pip3 install <package>` within a venv.
Also, note that if you compile from source, there is an option `make altinstall` (see the comments at the beginning of the Makefile built by ./configure) that might fit your needs.
Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD
Offline
If you really just want to code, you don't need any python installation.
well ofc i wanna test the code out too ![]()
Otherwise, since you can't install missing packages from Debian 13 repos, you might try to install them using `pip3 install <package>` within a venv.
those packages aren't ready for python 3.13 yet.. so its not even available on pip yet
Also, note that if you compile from source, there is an option `make altinstall` (see the comments at the beginning of the Makefile built by ./configure) that might fit your needs.
ig i'd upgrade to q4os 6 anyway and just run python 3.11 or 3.12 on windows (dualboot)
Last edited by theasmitkid (2025-09-19 21:54)
Coding & Robotics Enthusiast | Brave & Spck Editor @ Lenovo Tab 4 8 · Android 8.1 · 2GB · 16GB
Offline
Just for my information, I'm curious to know the names of those AI/ML packages usable with python 3.12 that need newer version to be usable with python 3.13.
Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD
Offline
Well mediapipe for starters, i could use dlib like i did two years ago but mediapipe tasks and solutions are just way faster
numpy 1.26.X is also for upto python 3.12 only
(Been working with 1.* since the start and heard that 2.* brings a lots of changes, tried out running the old codes with 2.* but didn't work out well so decided to stick with 1.* for now)
Last edited by theasmitkid (2025-09-20 14:29)
Coding & Robotics Enthusiast | Brave & Spck Editor @ Lenovo Tab 4 8 · Android 8.1 · 2GB · 16GB
Offline
Thanks for your response. It was the occasion for me to learn more about source packages and binary packages (wheels).
Now I understand your problem much better: mediapipe has no source package available, only wheels, but none for python 3.13 yet.
Q4OS machine: Samsung R519 - Pentium T4200 2.0 GHz - 4 GB RAM - 500 GB SSD
Offline
Yup, no problem ^^
Coding & Robotics Enthusiast | Brave & Spck Editor @ Lenovo Tab 4 8 · Android 8.1 · 2GB · 16GB
Offline
Pages: 1