Linux:安装python

root@iZm5e9phbzdxx0lysrv9t2Z:~# python --version
Python 2.7.18
root@iZm5e9phbzdxx0lysrv9t2Z:~#
root@iZm5e9phbzdxx0lysrv9t2Z:~# python3 --version
Python 3.8.10
root@iZm5e9phbzdxx0lysrv9t2Z:~#
root@iZm5e9phbzdxx0lysrv9t2Z:~# whereis python
python: /usr/bin/python /usr/bin/python2.7 /usr/bin/python3.8-config /usr/bin/python3.8 /usr/lib/python3.9 /usr/lib/python2.7 /usr/lib/python3.8 /etc/python2.7 /etc/python3.8 /usr/local/lib/python2.7 /usr/local/lib/python3.8 /usr/include/python3.8 /usr/share/python
root@iZm5e9phbzdxx0lysrv9t2Z:~# which python
/usr/bin/python
root@iZm5e9phbzdxx0lysrv9t2Z:~#

Original: https://blog.csdn.net/u013250861/article/details/127823292
Author: u013250861
Title: Linux:安装python

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/658945/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球