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

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
主站蜘蛛池模板: 综艺| 睢宁县| 钟祥市| 墨竹工卡县| 井陉县| 克拉玛依市| 通州区| 彭州市| 富阳市| 亚东县| 徐闻县| 江阴市| 玉屏| 镇雄县| 景德镇市| 新竹县| 兴山县| 清苑县| 蓝山县| 阆中市| 额尔古纳市| 宁强县| 南京市| 津市市| 廊坊市| 淳安县| 洪泽县| 叙永县| 新兴县| 城口县| 中西区| 沐川县| 青州市| 舟山市| 洛隆县| 波密县| 盐津县| 施秉县| 循化| 南京市| 敦化市|