Using Python 3 on Linux

Asked 2 years ago, Updated 2 years ago, 41 views

You must use Python 3.6 on Linux.

Even though I set the alias python='/usr/bin/python3,6', the python 2.7 version was executed I went into the /usr/bin folder myself and looked at it, but there seems to be no problem.

And even if you enter python3, python 2.7 is executed. Which part should I look at?

python linux

2022-09-21 18:17

1 Answers

Please open the ~/.bash_alias file and insert alias python=/usr/bin/python3, close the terminal, and open it again. Please check if it's possible.


2022-09-21 18:17

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.