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 8174325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:25:23+00:00 2026-06-06T22:25:23+00:00

My system: Mac OS X 10.6.8, gcc 4.2, python 2.7, xcode 3.2.3 I use

  • 0

My system: Mac OS X 10.6.8, gcc 4.2, python 2.7, xcode 3.2.3

I use python 2.7 and I got error when tried to do: import objc, it returns: ImportError: No module named objc.

It looks like the objc module is not there. But actually I have the objc module installed already. Snow Leopard has got pyobjc preinstalled and I have also checked this using python2.6 (I have python 2.7 and 2.6 in my Mac). So if I invoke import objc using python2.6, I got no error which means objc exists and I can use that module without problems … but if I import using python 2.7, I will got the ImportError: No module named objc error.

Does anyone have any solution? FYI, the python2.6 is coming preinstalled with OS X while 2.7 is manually installed. I’ve been using the 2.7 for couple of months without problems.

  • 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-06-06T22:25:25+00:00Added an answer on June 6, 2026 at 10:25 pm

    Python C extension modules like objc cannot be re-used between python versions. You’ll have to install the objc module for 2.7 separately.

    Generally, different python installations (such as 2.6 or 2.7, or 3.2) use separate module import locations, and you normally install extensions per python setup.

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

Sidebar

Related Questions

I want to get MySQL working with the system Python 2.7 in Mac OS
System: Mac OSX 10.6.5, Python 2.6 I try to run the python script below:
when I try to install python-mysql today, I got a number of compilation error
I need to kill x window system on mac (I'm linux user, I don't
We're using SCons + swtoolkit for our build system on Mac, Linux, and Windows.
Is there a way to retrieve system information like MAC Address, computer name, etc.
I want to run Mac OS in my Windows operative system, is there any
First I have install Mac 10.6.3 on my system now I want to install
I recently installed jEdit on my Mac OS 10.6 system. I would like to
Is it possible to replace the Mac OS X login window, /System/Library/CoreServices/loginwindow.app, with 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.