Open mlukjanska opened 8 years ago
I had the error in Mint 17.3. Unable to install Scrapy...
Command "/home/chad/Envs/ScrapeProf/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-ZrTWdn/cffi/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-0AOCRj-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/chad/Envs/ScrapeProf/include/site/python2.7/cffi" failed with error code 1 in /tmp/pip-build-ZrTWdn/cffi
@mlukjanska libxml2
is a C library. You probably needed the development versions of libxml2
and libxslt
. I guess it's good that easy_install
took care of that for you.
@spizeck Is that the entire error message? What command did you enter? If you're having the same problems that @mlukjanska is having, then you would resolve it with
sudo apt-get update
sudo apt-get install libxml2-dev libxslt1-dev
However, you seem to be having a separate issue. Issue #170 may be more relevant.
I'm still getting error by easy_install in win7.
could not find function xmlCheckVersion in library libXml2. Is libxml2 installed?
I'm still getting error by easy_install in win7.
could not find function xmlCheckVersion in library libXml2. Is libxml2 installed?
"pip install lxml==3.4.2" command helped me to solve this issue.
Systeminfo: MS Windows 7, Python 2.7
Running a command
pip install -r requirements.txt
from within virtualenv I kept getting bunch of errors, once running the requirements one by one it turned out that issue was with scrapy and psycopg2.Solving issue with Scrapy
The installation would fail with the following error
Simply running
pip install lxml
within virtualenv did not help (suggestion from here),but running
easy_install.exe lxml
as indicated here helpedSolving issue with psycopg2
While installing the psycopg2==2.5.4 I kept getting the following errors:
and managed to solve them by installing the binaries (see more details here) by running
pip install git+https://github.com/nwcell/psycopg2-windows.git@win32-py27#egg=psycopg2
within virtualenv