The python software pip is a replacement for *easy_install* .One may say it as a wrapper for easy_install, and indeed it is.
It is used mainly to provide installation for python packages.
First method:
Step 1>Download the last easy installer for Windows that fits your installed python version: (download the .exe at the bottom of http://pypi.python.org/pypi/setuptools ). Install it.
Step 2>Add c:\Python2x\Scripts to the Windows path (replace Python2x with the correct directory)
Step 3>Open a new (!) DOS prompt. From there run easy_install pip
For the 64 bit operating system refer to this link
Second method:
Step 1>Download the last pip version from here:
Step 2>Uncompress it
Step 3>Download the last easy installer for Windows: (download the .exe at the part of http://pypi.python.org/pypi/setuptools ). You can install it directly.
Step 4>Go to the uncompressed pip directory from the command prompt and type:
python setup.py install
Step 5>Add your python c:\Python2x\Scripts to the path
You are done.
Now you can use pip install package to easily install packages like you do in Linux :))
No comments:
Post a Comment