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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:26:23+00:00 2026-05-13T21:26:23+00:00

I’m very new to Python development, and am having a problem with one of

  • 0

I’m very new to Python development, and am having a problem with one of my apps in OSX.

Technologies being used in this project

  • python 2.6
  • django
  • google app engine
  • rpx (openid)

When loading up the site on my windows app, there are no issues, but when trying to same app on OSX 10.6, I get the following issue:


ImportError at /rpx/rpx/login/

No module named _ctypes

Here’s where the error is happening:

/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/ctypes/init.py in

#

“””create and manipulate C data types in Python”””
import os as _os, sys as _sys
version = “1.1.0”
from _ctypes import Union, Structure, Array


Any ideas? Thanks!

  • 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-13T21:26:24+00:00Added an answer on May 13, 2026 at 9:26 pm

    OS X 10.6’s Python 2.6 does include ctypes by default. You can even see part of it in the error report. So if there’s a problem with the installation, it’s only a problem with part of ctypes. That suggests that either it was damaged somehow or that something else is interfering with some part of the ctypes internals.

    Google App Engine is a prime candidate for this interference. ctypes itself is not available on Google App Engine.

    It looks like this might be a specific interaction between Python 2.6, OS X, and Google App Engine. Likely the same problem would not be encountered if you actually upload your application to GAE for real deployment.

    This issue has been raised in the GAE issue tracker here: http://code.google.com/p/googleappengine/issues/detail?id=985

    The last comment there suggests changing your GAE preferences to use Python 2.5 (/usr/bin/python2.5) as a possible resolution to the issue on your OS X development machine.

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

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
For some reason, after submitting a string like this Jack’s Spindle from a text
I used javascript for loading a picture on my website depending on which small
this is what i have right now Drawing an RSS feed into the php,
I am reading a book about Javascript and jQuery and using one of the
I have this code to decode numeric html entities to the UTF8 equivalent character.
I want use html5's new tag to play a wav file (currently only supported
We're building an app, our first using Rails 3, and we're having to build

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.