-
Notifications
You must be signed in to change notification settings - Fork 393
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scrape tutorial - lbxml2 related errors installing Scrapy and unresolved external errors installing psycopg2 #199
Comments
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 @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
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. |
1 similar comment
I'm still getting error by easy_install in win7. |
"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 helped
Solving 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
The text was updated successfully, but these errors were encountered: