Error Code installing Scrapy

0 votes

I am trying to install the Scrapy module for Python. I am using the command:

pip install Scrapy
 

But I get the following error:

Command "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -c "import setuptools, tokenize;__file__='/private/var/folders/b4/nrmj5jf105lcv1_kf1yk9gh40000gn/T/pip-build-aNQoXA/lxml/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /var/folders/b4/nrmj5jf105lcv1_kf1yk9gh40000gn/T/pip-B_akAd-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/b4/nrmj5jf105lcv1_kf1yk9gh40000gn/T/pip-build-aNQoXA/lxml

Jan 17 in Python by ana1504.k
• 7,870 points
174 views

1 answer to this question.

0 votes

You can install it via pip wheel.
Download from here wheel package. Scrapy

Then install with:

pip install wheel       #  to install support for wheel files.
pip install Scrapy‑1.0.3‑py2‑none‑any.whl        # to install the wheel.

answered Jan 17 by SDeb
• 13,180 points

Related Questions In Python

0 votes
1 answer

Google PubSub Subscription cannot recover from StatusCode.UNAVAILABLE [code=8a75] error

I'm seeing similar behavior as you. Except ...READ MORE

answered Oct 5, 2018 in Python by Priyaj
• 56,920 points
129 views
0 votes
1 answer

error while installing pyautoit

Hi @reddy!  According to the Python Documentation, Error code ...READ MORE

answered Jan 27 in Python by Omkar
• 67,660 points
499 views
0 votes
1 answer

Error installing BeautifulSoup

You can use a simple command to ...READ MORE

answered Feb 14 in Python by Omkar
• 67,660 points
594 views
0 votes
1 answer

Error while installing cv2 module in pycharm

Go to tools -> python console -> ...READ MORE

answered Jun 24 in Python by Quin
177 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 345 views
0 votes
11 answers
0 votes
1 answer

Key error in Python

A KeyError occurs when the Key doesn't ...READ MORE

answered Sep 20, 2018 in Python by SDeb
• 13,180 points
572 views