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, 2019 in Python by ana1504.k
• 7,910 points
1,426 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, 2019 by SDeb
• 13,300 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
• 58,020 points
2,321 views
0 votes
1 answer

error while installing pyautoit

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

answered Jan 27, 2019 in Python by Omkar
• 69,220 points
1,688 views
0 votes
1 answer

Error installing BeautifulSoup

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

answered Feb 14, 2019 in Python by Omkar
• 69,220 points
5,280 views
0 votes
1 answer

Error while installing cv2 module in pycharm

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

answered Jun 24, 2019 in Python by Quin
11,688 views
0 votes
2 answers
+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 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,434 views
0 votes
1 answer
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,300 points
1,477 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP