tomas
Member
Posts: 1
Likes: 0
|
Post by tomas on Feb 19, 2023 11:55:19 GMT
Hello everyone,
for some reasons, I would like to move from Python3.6 to Python3.7. I succesfully installed it on my machine running on Bodhi Linux 32bit (Ubuntu 18.04.6 LTS). Unfortunatelly, any app from Settings -> System does not start any more with Python3.7 (chosen by sudo update-alternatives --config python3). With Python3.6 everything works properly.
Do you have any idea how to solve this problem? I will really appreciate it.
Thank you in advance.
|
|
enigma9o7
Crew Member
 
Posts: 1,054
Likes: 1,108
Member is Online
|
Post by enigma9o7 on Feb 19, 2023 18:47:15 GMT
You shouldn't change the system version of python because lotsa preinstalled stuff depends on it, including all the python related packages besides python itself.
But you can install other python versions and setup python environment for different version to use them somehow for your own stuff.... Someone will chime in with how this works, but I'm not a python programmer myself....
|
|
|
Post by Hippytaff on Feb 20, 2023 9:33:22 GMT
Pyenv allows you to have different environments for different versions of python and python projects. I also am no expert but here’s some info - realpython.com/intro-to-pyenv/
|
|