Personal Python commonly used Package and its installation, pythonpackage

Source: Internet
Author: User

Personal Python commonly used Package and its installation, pythonpackage

In order to avoid turning to the west each time you reinstall the system, record the commonly used Python package installation process.

1) Python: 2.7.11, www.python.org. Because I personally like to use PyQt4 (in fact, not PyQt5 ......), Therefore, install Python2.7.

After installing Python, remember to add D:/Python27 and D:/Python/Scripts to the Path of the system environment variable.

Open the windows cmd window and enter pip installPackageInstall the corresponding package, such as pip install numpy.

View installed packages through pip list, and delete the packages, you can enter pip uninstallPackage.

2) packages that can be installed using pip:

A) numpy: data processing;

B) matplotlib: data visualization;

C) pandas: data analysis;

D) pyserial: Serial Communication (Note: pyserial installed using pip is version 3, whereas pyserial can only be used on WinXP );

E) cx_freeze: Pack py into an exe file.

3) packages that cannot be installed using pip:

A) PyQt4: interface development;: https://www.riverbankcomputing.com/software/pyqt/download. install the exefile in double steps after downloading it;

B) scipy: scientific computation;: http://www.lfd.uci.edu /~ Gohlke/pythonlibs/, download the corresponding version, such as: scipy-0.17.1-cp27-cp27m-win32.whl, installed in pip mode, such as: pip install scipy-0.17.1-cp27-cp27m-win32.whl;

C) pyserial: Serial Communication (for WinXP);: http://www.lfd.uci.edu /~ Gohlke/pythonlibs/, download the corresponding version, such as: pyserial-2.7-py2-none-any.whl, also install Through pip command.

4) Development Environment:

PyCharm: www.jetbrains.com.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.