CPython
1.1、CPython简介
是什么 ?:the default and most widely-used Python interpreter which is written in C.
开发语言:C
官方主页:https://www.python.org
1.2、通过包管理器安装CPython
操作系统包管理器安装命令
allpyenvpyenv install 2.8.2
Windowsscoopscoop install python
WindowsChocolateychoco install -y python
macOSHomeBrewbrew install python
GNU/LinuxHomeBrewbrew install python
aptsudo apt-get install -y python3 python3-dev
CentOSyumsudo yum install -y python36 python36-devel python36-libs
dnfsudo dnf install -y python3 python3-devel python3-libs
openSUSEzyppersudo zypper install -y python3
Alpine Linuxapksudo apk add python

Arch Linux

ArcoLinux

Manjaro Linux

pacmansudo pacman -Syyu --noconfirm
sudo pacman -S    --noconfirm python
Gentoo LinuxPortagesudo emerge python
1.3、通过编译源码安装CPython
1.4、CPython中包含的命令
1.5、CPython中包含的头文件
1.6、CPython中包含的库文件
  • libpython.{a | so | dylib}