官术网_书友最值得收藏!

Installing Python on Linux

There are many different distributions of Linux available. The instructions to install Python might be different, depending on your specific Linux distribution. In general, you should first check to see if Python is already installed on your system in the Terminal:

$ python --version
$ pip --version

If Python or pip is not installed, or a different version is installed, install them with your Linux distribution's package manager:

  • For Debian derivatives such as Ubuntu, use apt:
$ sudo apt-get install python3 python3-pip
  • For Red Hat derivatives such as Fedora, use yum:
$ sudo yum install python python-pip
  • For SUSE derivatives, use zypper:
$ sudo zypper install python3 python3-pip
主站蜘蛛池模板: 新巴尔虎左旗| 巨野县| 城市| 甘肃省| 寿宁县| 慈利县| 青阳县| 五寨县| 杭州市| 启东市| 安溪县| 望谟县| 长寿区| 新野县| 邢台市| 牙克石市| 忻州市| 临湘市| 和平县| 溧阳市| 伊宁县| 阳新县| 如皋市| 边坝县| 电白县| 绥滨县| 永丰县| 辽源市| 昂仁县| 永定县| 安乡县| 化州市| 昆明市| 大冶市| 陆丰市| 林芝县| 桦川县| 呼伦贝尔市| 尤溪县| 昌邑市| 九寨沟县|