Error installing scrapy on Mac OS X 10.6

Attempting to install Scrapy on Mac OSX 10.6 using Guide :

When executing these commands from the terminal:

cd libxml2-2.7.3/python
sudo make install

I get the following error:

Making install in .
make[1]: *** No rule to make target `../libxslt/libxslt.la', needed by `libxsltmod.la'.  Stop.
make: *** [install-recursive] Error 1

Following the first steps in the Guide , which included collecting and installing libxml2 and libxslt packages, seemed to be successful ...

+3
source share
2 answers

The easiest way is to use MacPorts to install python and the libraries you need .

+2
source

Credit @Ned Deily

, , , Scrapy 0.8 OS X 10.6. Macros Python 2.6, , . , Macports .

MacPorts :

http://www.macports.org/install.php

sudo port install py26-libxml2 py26-twisted py26-openssl py26-simplejson py26-setuptools python_select

sudo /opt/local/bin/easy_install-2.6 scrapy

~.profile :

export     PATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:$PATH
+1

Source: https://habr.com/ru/post/1735269/


All Articles