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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T10:58:55+00:00 2026-05-27T10:58:55+00:00

I know how to start PyCharm in 32-bit mode on OSX Lion, but how

  • 0

I know how to start PyCharm in 32-bit mode on OSX Lion, but how do I get the interpreter configured in PyCharm to use the 32-bit version of the Apple shipped Python version (currently 2.7.1)?

I successfully have it working when launched from the terminal, but it appears that PyCharm doesn’t read those system variables or defaults.

I’m trying to get cx_Oracle working with some scripts in PyCharm. Please see the following question for more details:

Can't get cx_Oracle to work with Python version 2.7 / mac os 10.7.2 (Lion) – missing_OCIAttrGet

Thanks in advance for your response!

  • 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-27T10:58:56+00:00Added an answer on May 27, 2026 at 10:58 am

    I don’t use PyCharm so I can’t test this but it appears you can configure a non-standard path to the Python interpreter (see PYCharm help here). If so, try using /usr/bin/python as the path. If you’ve used the defaults command to permanently set 32-mode (as documented in Apple’s man python):

    defaults write com.apple.versioner.python Prefer-32-Bit -bool yes
    

    that should do the trick. Setting the environment variable probably won’t work.

    UPDATE: Since you report that that does not work, here’s another, more drastic possibility. You can extract the 32-bit architecture binary from the multi-architecture (universal) binary by using the lipo command. Try something like this:

    sudo lipo /usr/bin/python2.7 -extract_family i386 -output /usr/local/bin/python2.7-32
    sudo chmod 755 /usr/local/bin/python2.7-32
    

    Then set the interpreter path in PyCharm to that file. It’s ugly because you will need to keep an eye on any Python updates from Apple and repeat the process. If PyCharm is exec-ing the Python executable directly from the framework, then this may not work. Short of getting some support in PyCharm or resolving the Oracle issue, the fool-proof solution would be to install a 32-bit-only version of Python. The pre-built 32-bit-only installers from python.org are problematic for Lion 10.7 because of their dependence on gcc-4.0 and the 10.4u SDK, both no longer provided in Xcode 4. However, you could build it yourself or, with a little bit of configuring, you should be able to get MacPorts to build one.

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

Sidebar

Related Questions

OSX 10.7.3, PyCharm version 2.5 build PY 117.200 I'll run through how I get
i am using google api for ruby, but not know how to start, just
I know you can start a service on Boot , but how do I
I know I can start the process with cron, but how would I go
i know how to Start process with argument but im trying to create a
I know I can start a new worker thread from with .NET. But how
I know how to start and stop a video with play() and pause(), but
I know that constants start with the k prefix, but does anyone have their
Before I start know this: I am extremely new to Java and programming. How
1) I know the start point of the arrow and I know the endpoint.

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.