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

Python installation for Linux

Most Linux distributions have Python 3.4 preinstalled. You may confirm this by typing python3 in the Terminal. If you see the following, it means Python 3.4 is present:

Python 3.6.3 (default, Oct 6 2017, 08:44:35) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>>?

If the Python shell does not appear at the command, you can install Python 3 with apt, the Linux software management tool:

sudo apt update
sudo apt install Python3 build-essential

The build-essential package contains compilers that are useful for building non-pure Python packages. Meanwhile, you may need to substitute apt with apt-get if you have Ubuntu 14.04 or older.

主站蜘蛛池模板: 禹城市| 于都县| 滨州市| 克拉玛依市| 长沙市| 九寨沟县| 承德县| 阳高县| 齐齐哈尔市| 长宁区| 汉中市| 阿克苏市| 崇信县| 天峨县| 松阳县| 正镶白旗| 太保市| 札达县| 潍坊市| 太和县| 峨眉山市| 方山县| 美姑县| 安顺市| 杭锦后旗| 宝丰县| 平武县| 河间市| 抚远县| 隆回县| 南涧| 友谊县| 泸水县| 成安县| 南开区| 濉溪县| 福建省| 孝感市| 延寿县| 闽侯县| 合肥市|