- Geospatial Development By Example with Python
- Pablo Carreira
- 310字
- 2021-07-16 09:30:54
Installing Python
For this book, we suggest using Python 2.7; this version of Python is fully compatible with the libraries and packages that we will use in the examples and also has precompiled binary files available on the Internet for Windows users. We will keep all the examples as compatible as possible with Python 3.4 so that it would be easy to port future upgrades.
Windows users may find compatibility problems with the 64-bit packages, so we recommend the 32-bit version of Python for them.
For Linux users, we will show the installation procedures for Ubuntu Linux distribution and use package managers, so you don't need to worry about versions and requirements; the package managers will do this for you.
The libraries that you will install are written in Python and other languages, the most common being C and C++. These libraries can abstract classes, methods, and functions to Python objects or have an extra layer that makes the connection; when this happens, we say that the library has Python bindings.
Windows
Here are the steps to perform for the installation of Python on Windows:
- Go to https://www.python.org/downloads/windows/ and click on Download the latest Python 2.7 release for Windows.
- On the next page, roll down, and you will find a list of files; make sure that you download Windows x86 MSI installer.
- After the file is downloaded, open the installer by clicking on the file and following the instructions. Proceed with the default options by clicking on the Next button.
Ubuntu Linux
Ubuntu already comes with Python installed, so there is no need to install it. If for any reason, it's not available, you can install it with the following command:
sudo apt-get install python
Python 2.7.9 comes with Pip, but if you use an older version, you need to install Pip with the following command:
sudo apt-get install python-pip
- Qt 5 and OpenCV 4 Computer Vision Projects
- R語言數據分析從入門到精通
- 零起步玩轉掌控板與Mind+
- Instant QlikView 11 Application Development
- C語言程序設計案例式教程
- Visual Basic學習手冊
- The DevOps 2.4 Toolkit
- Python機器學習算法與實戰
- 從0到1:Python數據分析
- Extending Puppet(Second Edition)
- 區塊鏈技術進階與實戰(第2版)
- HTML+CSS+JavaScript網頁設計從入門到精通 (清華社"視頻大講堂"大系·網絡開發視頻大講堂)
- HTML5+CSS3+jQuery Mobile APP與移動網站設計從入門到精通
- Oracle實用教程
- Python網絡爬蟲實例教程(視頻講解版)