Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6795093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:18:04+00:00 2026-05-26T18:18:04+00:00

I used pip install Scrapy on my mac 10.6.8 and i get the error

  • 0

I used pip install Scrapy on my mac 10.6.8 and i get the error below
can anyone help me please?

creating build/lib.macosx-10.3-fat-2.7/twisted/internet/iocpreactor/iocpsupport

copying twisted/internet/iocpreactor/iocpsupport/iocpsupport.c ->
build/lib.macosx-10.3-fat-2.7/twisted/internet/iocpreactor/iocpsupport

copying twisted/internet/iocpreactor/iocpsupport/winsock_pointers.c ->
build/lib.macosx-10.3-fat-2.7/twisted/internet/iocpreactor/iocpsupport

copying twisted/python/_epoll.c ->
build/lib.macosx-10.3-fat-2.7/twisted/python

copying twisted/python/_initgroups.c ->
build/lib.macosx-10.3-fat-2.7/twisted/python

copying twisted/runner/portmap.c ->
build/lib.macosx-10.3-fat-2.7/twisted/runner

copying twisted/test/raiser.c ->
build/lib.macosx-10.3-fat-2.7/twisted/test

running build_ext

gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386
-g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c conftest.c -o conftest.o

/usr/libexec/gcc/powerpc-apple-darwin10/4.0.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

lipo: can't open input file:
/var/folders/jk/jkTyAFDWEC8fvZts+C7Jwk+++TI/-Tmp-//ccBIdB4l.out (No
such file or directory)

gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386
-g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c conftest.c -o conftest.o

conftest.c:1:23: error: sys/epoll.h: No such file or directory

conftest.c:1:23: error: sys/epoll.h: No such file or directory

lipo: can't figure out the architecture type of:
/var/folders/jk/jkTyAFDWEC8fvZts+C7Jwk+++TI/-Tmp-//cceIymsT.out

building 'twisted.test.raiser' extension

creating build/temp.macosx-10.3-fat-2.7

creating build/temp.macosx-10.3-fat-2.7/twisted

creating build/temp.macosx-10.3-fat-2.7/twisted/test

gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch ppc -arch i386
-g -O2 -DNDEBUG -g -O3 -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c twisted/test/raiser.c -o build/temp.macosx-10.3-fat-2.7/twisted/test/raiser.o

In file included from /usr/include/architecture/i386/math.h:626,

                 from /usr/include/math.h:28,

                 from /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/pyport.h:312,

                 from /Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/Python.h:58,

                 from twisted/test/raiser.c:4:

/usr/include/AvailabilityMacros.h:108:14: warning: #warning Building
for Intel with Mac OS X Deployment Target < 10.4 is invalid.

/usr/libexec/gcc/powerpc-apple-darwin10/4.0.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

lipo: can't open input file:
/var/folders/jk/jkTyAFDWEC8fvZts+C7Jwk+++TI/-Tmp-//ccNvrcyZ.out (No
such file or directory)

error: command 'gcc-4.0' failed with exit status 1

---------------------------------------- Command /Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
-c "import setuptools;__file__='/Users/bbb/Dropbox/projects/android/continuous-integration/build/Twisted/setup.py';exec(compile(open(__file__).read().replace('\r\n',
'\n'), __file__, 'exec'))" install --single-version-externally-managed
--record /var/folders/jk/jkTyAFDWEC8fvZts+C7Jwk+++TI/-Tmp-/pip-MXEZuX-record/install-record.txt
failed with error code 1 Storing complete log in
/Users/bbb/.pip/pip.log
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T18:18:04+00:00Added an answer on May 26, 2026 at 6:18 pm

    It appears you have installed Xcode 4 which removed the gcc-4.0 used to build the Python 2.7 you have installed. From the path names in the traceback, chances are that was a 32-bit-only Python downloaded from python.org. With Xcode 4, you should try installing the latest 64-bit/32-bit OS X installer for Python 2.7 from python.org instead. You will then likely need to re-install any packages you had installed, like Distribute, pip, and dependencies. Depending on which version of Xcode 4, you may also need to supply the following environment variable setting before running pip or easy_install:

    export CC=gcc
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just used homebrew to install Python 2.7.2 on a clean Mac OS X
I'm used to gems, pip, and npm in the fact that I can provide
I was trying to install matplotlib in Mac OSX Lion. Tried to used the
I used Jquery to insert a variable to div. Please check my code. var
The pip documentation mentions -e option to pip, and this is also used on
I tried to install ZODB3 for 64 bit Python 2.7 with pip. This installation
I am trying to install paramiko via the terminal in OS so I can
Whenever I try to pip install anything in my virtualenvs I am told it
I used Netbeans IDE to compile and run the below program. public class Unicode
I can't properly install the project package_fiddler to my virtual environment. I have figured

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.