How to get `python` to run Python 3 in WSL bash?

▼魔方 西西 提交于 2019-12-04 07:41:18

python in linux world as a CLI command almost always means python2 and not python3. Make sure that you have python2 installed (sudo apt install python).

DO NOT alias python to python3 - this is some bad advice!

To run python3, you have to specify python3 on the CLI.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!