- The Python Apprentice
- Robert Smallshire Austin Bingham
- 218字
- 2021-07-02 22:16:51
Linux
To install Python on Linux you will want to use your system's package
manager. We'll show how to install Python on a recent version of Ubuntu, but the process is very similar on most other modern Linux distributions.On Ubuntu, first start the Ubuntu Software Center. This can usually be run by clicking on it's icon in the launcher. Alternatively, you can run it from the dashboard by searching on Ubuntu Software Center and clicking the selection.
Once you're in the software center, enter the search term python 3.5 in the search bar in the upper right-hand corner and press return.
One of the results you'll get will say Python (v3.5) with Python Interpreter (v3.5) in smaller type beneath it. Select this entry and click the Install button that appears.
You may need to enter your password to install the software at this point.
You should now see a progress indicator appear, which will disappear when installation is complete.
Open a terminal (using Ctrl+Alt+T) and verify that you can run Python 3.5 from the command line:
$ python3.5
Python 3.5.0+ (default, Oct 11 2015, 09:05:38)
[GCC 5.2.1 20151010] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
Welcome to Python!
The triple arrow prompt shows you that Python is waiting for your input.
- The DevOps 2.3 Toolkit
- iOS開發(fā)實戰(zhàn):從零基礎(chǔ)到App Store上架
- 薛定宇教授大講堂(卷Ⅳ):MATLAB最優(yōu)化計算
- Mastering Python High Performance
- OpenShift在企業(yè)中的實踐:PaaS DevOps微服務(第2版)
- Learning Apache Mahout Classification
- 微信小程序項目開發(fā)實戰(zhàn)
- Scala Reactive Programming
- OpenCV 4計算機視覺項目實戰(zhàn)(原書第2版)
- 小程序,巧應用:微信小程序開發(fā)實戰(zhàn)(第2版)
- Practical Microservices
- 深度學習程序設(shè)計實戰(zhàn)
- R語言數(shù)據(jù)挖掘:實用項目解析
- Java程序設(shè)計教程
- HTML5+CSS+JavaScript深入學習實錄