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
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.
© 2024 OneMinuteCode. All rights reserved.