Install pip using python interpreter

I'm fairly new to Python's inner workings.

I tried to solve the error seen here, Scrapy in Windows XP ImportError: there is no module named w3lib.html

I installed easy_install so that I can reinstall Scrapy, but I could not get it to do anything. I can import easy_install, but then I expected that I could run something like easy_install / my_downloads / OtherPackage-3.2.1-py2.3.egg or easy_install http://example.com/path/to/MyPackage-1.2. 3.tgz to install one of the dependencies, but obviously I'm doing it wrong.

I also don't know how to get from here http://www.pip-installer.org/en/latest/installing.html#using-the-installer

I think my question is, how can I run commands like below? $ curl https://raw.github.com/pypa/pip/master/contrib/get-pip.py | Python

I am using the latest free entuought package, and I thought that either the pylab interface or python.exe would allow me to run this command. I assume that I'm just looking for a link or a summary of how to use the interpreter to install the necessary packages to solve the original problem.

Thanks for any help

+3
source share
2 answers

to get easy_install, you want to install setuptoolsfor windows using the executable installer provided here: http://pypi.python.org/pypi/setuptools

, Python 2.7 32- , : setuptools-0.6c11.win32-py2.7.exe.

setuptools, easy_install.exe C:\Python27\Scripts.

pip ( PyPI), :

C:\Python27\Scripts\easy_install pip

+2

Python Python Windows. setuptool , , pip windows.

, scrapy pip install scrapy.

0

All Articles