Question

I'm currently running Scrapy v0.18, and I'd like to update to the latest stable version 0.22. My biggest issue at the moment is that I can't figure out why the latest version won't install. I used the command sudo easy_install -U scrapy, but that resulted in the error message as follows:

Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
conftest.c:1: fatal error: error closing -: Broken pipe
compilation terminated.
lipo: can't open input file: /var/tmp//ccgmNJrm.out (No such file or directory)
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed

Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
twisted/test/raiser.c:1440: fatal error: error writing to -: Broken pipe
compilation terminated.
lipo: can't open input file: /var/tmp//ccriYrDV.out (No such file or directory)
error: Setup script exited with error: command 'gcc-4.2' failed with exit status 1

I'm not very experienced with the command line. How can I update Scrapy to the latest version successfully?

Was it helpful?

Solution

Now that the question has been clarified that the initial install was via pip, the best way to upgrade would be:

sudo pip install --upgrade scrapy

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top