How to downgrade python from 3.10 to 3.9 on Ubuntu, WSL

I need to downgrade python for a project. Unable to downgrade from 3.10 to 3.9 on Ubuntu, Windows Subsystem for Linux.

4

1 Answer

Try the following steps I'm using Ubuntu 22.04

sudo apt-get update sudo add-apt-repository ppa:deadsnakes/ppa apt list | grep python3.9 sudo apt install python3.9 sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1 sudo update-alternatives --config python3 
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like