Never used pip under Windows, try it today, the original PIP can also be installed under Windows, the use is as simple as Linux.
Download pip source code from the following address first:
http://pypi.python.org/pypi/pip/
The latest version is 6.0.8, and the download connection is:
Http://pypi.python.org/packages/source/p/pip/pip-6.0.8.tar.gz#md5=2332e6f97e75ded3bddde0ced01dbda3
Download it and unzip it and open the command line:
1, the use of CD command into the PIP source directory, assuming that the source code in F:\Python\pip-6.0.8, then execute the following command:
[Plain]View PlainCopy
- F:
- CD f:\python\pip-6.0.8
2. Before installing, you must ensure that the Python path has been added to the system's path environment variable, and if not, you can specify it with the following command:
[Plain]View PlainCopy
- Set path=%path%; " Your python install path "
3. Then run the following command to install:
[Plain]View PlainCopy
- Python setup.py Install
Wait a few moments and a bunch of prints can be installed successfully.
To install a Python package is also stall simple, just run the command:
[Plain]View PlainCopy
- python-m pip Install <package name>
To install the MySQL Python support package, execute the following command:
[Plain]View PlainCopy
- python-m pip install MySQL
The full PIP command is as follows:
[Plain]View PlainCopy
- Install install packages.
- Uninstall Uninstall packages.
- Freeze Output installed packages in requirements format.
- List List installed packages.
- Show show information about installed packages.
- Search Search PyPI for packages.
- Wheel Build wheels from your requirements.
- Zip DEPRECATED. Zip individual packages.
- Unzip DEPRECATED. Unzip individual packages.
- Help Show Help for commands.
Install the Python Package Manager pip and use it under Windows