首先通过以下命令查看 Python 的版本 python -V 关于切换 Python 默认版本,可以参考文章:转换Python默认版本 安装 pip3,很多时候,你会发现,自己已经安装了,但是系统会提示没有这个命令,例如: sudo pip3 install virtualenv sudo: pip3: command not found sudo apt-get install python3-pip Reading package lists... Done Building dependency tree Reading state information... Done python3-pip is already the newest versi… Read More