Skip to content Skip to sidebar Skip to footer

Scrapy Installation On Osx Lion

So I'm trying to install Scrapy on Lion and am not sure if it's properly installed or not. I followed the guide here http://doc.scrapy.org/en/latest/intro/install.html#intro-instal

Solution 1:

Well turns out it's likely a path issue.

On my Mac, I used easy_install from /usr/bin.

sudo /usr/bin/easy_install scrapy

The resulting scrapy command is then installed into /usr/local/bin/scrapy.

You might not have that directory in your path, so see if that's true with:

echo$PATH

If it isn't in there, you can temporarily add it like export PATH=/usr/local/bin:$PATH, or modify your ~/.bash_profile to add it permanently.


Alternatively, I typically don't use the system installed Python in Mac - I install homebrew and install a separate version of Python, and install scrapy with that version (scrapy is then installed into /usr/local/share/python/scrapy).

Post a Comment for "Scrapy Installation On Osx Lion"