I install python 3.10 in my new laptop, i used python 3.10 for a long time and i installed lot of package on it, but i need to downgrade it to python 3.8 because python 3.10 cannot support a package, and i found this post but if i remove the whole python, it will also remove all the package, that mean i need to install all the package after i do it. Is there any way to just downgrade the python interpreter?
Asked
Active
Viewed 8,931 times
0
-
That won't work as the python packages are installed against the interpreter. But you can install [anaconda](https://docs.anaconda.com/anaconda/install/index.html) that allows you to run multiple pythons in parallel. – Cpt.Hook Nov 30 '22 at 10:46
-
What OS are you using? – Brian61354270 Aug 10 '23 at 21:14
1 Answers
1
You can use it pyenv for working with multiple python versions;
curl https://pyenv.run | bash
Look at the available versions;
pyenv install --list
Installing selected version;
pyenv install -v 3.8.1
for more details;
https://realpython.com/intro-to-pyenv/

Sezer BOZKIR
- 534
- 2
- 13