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

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
主站蜘蛛池模板: 玉屏| 蚌埠市| 新营市| 马龙县| 贡山| 沁阳市| 九龙城区| 屏南县| 潼南县| 新兴县| 华坪县| 古交市| 宁河县| 锡林浩特市| 威远县| 华宁县| 金溪县| 平阴县| 梧州市| 错那县| 隆安县| 鄂尔多斯市| 巴彦淖尔市| 巩留县| 云阳县| 张家界市| 田林县| 依兰县| 彭阳县| 安丘市| 房产| 株洲县| 东乌| 田阳县| 株洲市| 伽师县| 望奎县| 桂阳县| 普兰县| 淮安市| 资中县|