- Hands-On Artificial Intelligence on Amazon Web Services
- Subhashini Tripuraneni Charles Song
- 112字
- 2021-06-24 12:48:43
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
推薦閱讀
- 大學(xué)計(jì)算機(jī)基礎(chǔ):基礎(chǔ)理論篇
- 精通Excel VBA
- Expert AWS Development
- PyTorch深度學(xué)習(xí)實(shí)戰(zhàn)
- Matplotlib 3.0 Cookbook
- STM32G4入門與電機(jī)控制實(shí)戰(zhàn):基于X-CUBE-MCSDK的無刷直流電機(jī)與永磁同步電機(jī)控制實(shí)現(xiàn)
- VB語言程序設(shè)計(jì)
- 自動控制理論(非自動化專業(yè))
- Visual FoxPro數(shù)據(jù)庫基礎(chǔ)及應(yīng)用
- ZigBee無線通信技術(shù)應(yīng)用開發(fā)
- 運(yùn)動控制系統(tǒng)(第2版)
- Data Analysis with R(Second Edition)
- Visual Basic項(xiàng)目開發(fā)案例精粹
- PostgreSQL High Performance Cookbook
- SolarWinds Server & Application Monitor:Deployment and Administration