1

I used the command below to upgrade to python3.7 enter image description here

But when I control the python version, it is still python 2.7. How should I do? enter image description here

Ozgur
  • 162
  • 1
  • 10

1 Answers1

1

Have a look at the instructions provided in this answer:

Then you would just call Python like so:

python3.7 ./yourScript.py

Do not forget to use python3.7 instead of python.

Serhii Rohoza
  • 4,287
  • 2
  • 16
  • 29