Search code examples
virtualenveasy-installpipscrapy

How to install libxml2 in virtualenv?


I have virtualenv with --no-site-packages option. I'm using scrapy in it. Scrapy uses libxml2 by import libxml2. How to install libxml2 in virtualenv using pip or easy_install?


Solution

  • pip install ftp://xmlsoft.org/libxml2/python/libxml2-python-2.6.9.tar.gz