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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:11:14+00:00 2026-05-29T21:11:14+00:00

I am running OSX Lion and have installed python2.7 from python.org (this distribution can

  • 0

I am running OSX Lion and have installed python2.7 from python.org (this distribution can run in both 64bit and 32bit mode). I have also installed the wxPython package. I can run python scripts that import wxPython from the Terminal by explicitly using the 32-bit version. I would like to run the same scripts in Eclipse, but cannot. I configure PyDev to use python.org’s interpreter, but it defaults to 64-bit (I check this by printing sys.maxint). I cannot figure out how to make PyDev use the 32-bit interpreter.
I have tried configuring the PyDev python interpreter to point to:

/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-32

but it ends up using:

/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

How can I configure PyDev to use the 32-bit python interpreter in Eclipse on OSX Lion?

I appreciate any input regarding this matter. Thank you.

  • 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-29T21:11:15+00:00Added an answer on May 29, 2026 at 9:11 pm

    The interpreter used in PyDev is computed from sys.executable…

    Now, a doubt: if you start a shell with /Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-32 and do ‘print sys.executable’, which executable appears?

    Now, onto a workaround… you can try replacing the places where sys.executable appears in plugins/org.python.pydev/PySrc/interpreterInfo.py to point to ‘/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-32’

    That’s the script where it decides which interpreter to actually use… (still, it’s strange that sys.executable would point to a different location…)

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

Sidebar

Related Questions

I have two versions of python installed on my mac running OSX Lion. The
I have Apache running on OSX Lion and MacPorts Python and some packages installed
I'm running OSX 10.6, and I have this very simple script in a file
I am running Mac OSX lion and have a Java project in netbeans where
I am trying to get Apache::ASP running on OSX Lion Server. I have made
I am running OSX Lion with Xcode 4.2.1 installed. Does the ctags that comes
I am running Mac OSX 10.5.8. I installed matplotlib using macports. I get some
I'm running Mac OSX Snow Leopard, this problem is caused by a recent train
I'm running git 1.7 on Mac OSX, installed via Homebrew. I'm trying to use
Trying to install Scrapy on Mac OSX 10.6 using this guide : When running

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.