0

ubuntu 20.04 comes with python 3.8 .for a project to run i need default python version 3.6.15.Didnt find proper solution over the internet to change version to 3.6.15.please suggest.when tried to remove 3.8 ubuntu ran into problems.

gone through all possible pages giving solutions

  • You don't need to change/replace the existing one. You can have 2 versions of python installed, and leave the default system one alone. Then just make sure to use the correct `python3` and `pip` when installing packages and running your app. – Gino Mempin Nov 19 '22 at 08:15
  • Does this answer your question? [Dealing with multiple Python versions and PIP?](https://stackoverflow.com/q/2812520/2745495) – Gino Mempin Nov 19 '22 at 08:20
  • Hi @GinoMempin thanks for the quick reply. is it possible to remove python completely from ubuntu ? – sree sankar Nov 19 '22 at 08:28
  • 1
    No, **you don't want to do that**. You shouldn't be removing system built-ins, like the system pre-installed Python, because the system itself is using it. Like I said, just install a separate one for your project. I have 4 versions right now aside from the default python3. – Gino Mempin Nov 19 '22 at 08:58

0 Answers0