Wednesday, January 29, 2014

Learning Python

Using activepython, as it packages more modules/packages by default.

Check 32 or 64 bit version, whether the python package and pthon installed is same 32 or b4 bit.
Place python home and *python/scripts* folder in path environment variable: C:\Python27 and C:\Python27\Scripts

Use exe to install package if possible. It's hard to install from source code as have to install its dependencies manually.
use pip or easy_install to install packages
easy_install Scrapy,
python setup.py install 

Python27 needs visual studio express 2008, use 32bit version.
Install python32 bit.

The Windows binaries of the latest version of lxml (as well as a wide range of other Python packages) are available on http://www.lfd.uci.edu/~gohlke/pythonlibs/
http://www.lfd.uci.edu/~gohlke/pythonlibs/
Libxml-python are bindings for the libxml2 and libxslt libraries.

No comments:

Post a Comment