Comment 2 for bug 1997017

Revision history for this message
Stuti Arya (sarya09) wrote :

I want to use python3.9 as there was a requirement from the client and in order to upgrade I used below commands:

sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install python3.9
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 2
python3 --version
sudo apt remove --purge python3-apt
sudo apt autoclean
sudo apt install python3-apt
sudo apt install python3.9-distutils
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
sudo python3.9 get-pip.py

these commands helped me upgrade python to python3.9 and installed pip for the python3.9 version.

How exactly do I need to specify python3.9 local.conf file?
Have you/your team deployed devstack (./stack.sh) on Ubuntu 20.04 and Python3.9? If yes, Can you share what you did to successfully deploy the stack?