Python Module Installation method
One, multi-file module, with setup.py
Download the installation package directly, unzip it, Enter directory via cmd command, direct python setup.py install
Note: Direct double click error is easy
Directly copied to the Python installation directory \python27\lib\site-packages\ or \python27\lib\ directory can be, but the general lip directory is the original module, \site-packages\ is placed outside the module
Second, the Easy_install way
Download ez_setup.py First, run Python ez_setup to install the Easy_install tool, and then you can install the package using Easy_install.
Need to add environment variable, no word cmd jump to C:\Python27\Scripts
Easy_install-u WxPython
Four, the PIP way
Install the pip tool First: Easy_install pip (pip can be installed by Easy_install and also loaded into the Scripts folder. )
Install: Pip Install PackageName
Update: Pip install-u packagename
Removal: Pip Uninstall PackageName
Search: Pip Search PackageName
Help: Pip helps
Several common ways to install Python modules