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

  • Home
  • SEARCH
  • 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 6022157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T03:49:06+00:00 2026-05-23T03:49:06+00:00

I run sudo python setup.py install to install the Mongrel2 Python support, but it

  • 0

I run sudo python setup.py install to install the Mongrel2 Python support, but it fails with this :-

> Installed
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-
> packages/m2py-1.0beta7-py2.7.egg
> Processing dependencies for
> m2py==1.0beta7 Searching for storm
> Reading
> http://pypi.python.org/simple/storm/
> Reading https://storm.canonical.com
> Reading
> https://launchpad.net/storm/+download
> Best match: storm 0.18 Downloading
> http://launchpad.net/storm/trunk/0.18/+download/storm-0.18.tar.bz2
> Processing storm-0.18.tar.bz2 Running
> storm-0.18/setup.py -q bdist_egg
> --dist-dir /tmp/easy_install-SLExAI/storm-0.18/egg-dist-tmp-kQRcFq 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 storm/cextensions.c:23:
> /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/tmp//ccByYCOo.out (No
> such file or directory) error: Setup
> script exited with error: command
> 'gcc-4.0' failed with exit status 1.

I then re-ran it with sudo CC=/usr/bin/gcc-4.2 python setup.py install, but with the same results.

I have Python 2.7.1 installed and am running on OSX 10.6

  • 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-23T03:49:07+00:00Added an answer on May 23, 2026 at 3:49 am

    It appears you have installed Xcode 4 and you’ve installed a traditional 32-bit-only, backward-compatible Python 2.7.1, possibly from python.org. Unfortunately, the two don’t mix well; that Python was built with and requires Xcode 3. You can either backup to Xcode 3 or, better, install a 64-bit/32-bit Python 2.7.x from here (2.7.2 was just released, BTW).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While trying to install Rails 3, I get the following error: command run: sudo
I run into similar codes like this all the time in aspx pages: <asp:CheckBox
I run into this quite often where a new page is supposedly tested and
I have a python project with this directory structure and these files: /home/project_root |---__init__.py
I can't run firefox from a sudoed python script that drops privileges to normal
I'm trying to run mod_wsgi 3.1 under Apache 2.2.14 using a non-default python installation
I installed a couple of pythons in different versions with macports, and the apple
I've xcode 3.0 installed. And I need to install sqlite3-ruby gem (for rhosync). When
I get an error when i run: vagrant@vagrantup:~$ sudo gem list ERROR: Loading command:
Am trying to run the following python program import re regex=re.compile(http...imgs.xkcd.com.comics.[\\S]*.[jpg|png]) f=open('out.txt') for a

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.