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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T22:00:17+00:00 2026-05-19T22:00:17+00:00

I re-installed Python 2.7 with the official DMG installer from python.org because I needed

  • 0

I re-installed Python 2.7 with the official DMG installer from python.org because I needed to use a pre-compiled binary which choked on my 64-bit Python install..
(Recompiling it to run in 64-bit is too difficult for me, not an option)

It worked, the Python mac Installer fixes all the links, so my new python install is 32-bit, but all the virtualenv I had created with the 64-bit Python cannot use Python anymore, here is the output :

dyld: Library not loaded: @executable_path/../.Python
Referenced from: /Users/dom/django/.virtualenvs/lepoc/bin/python
Reason: no suitable image found.  Did find:
/Users/dom/django/.virtualenvs/lepoc/bin/../.Python: no matching architecture in universal wrapper
/Users/dom/django/.virtualenvs/lepoc/bin/../.Python: no matching architecture in universal wrapper
Trace/BPT trap

Is there a possible fix (like re-linking something) or do I have to re-create all my virtualenv ?

  • 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-19T22:00:17+00:00Added an answer on May 19, 2026 at 10:00 pm

    I’d go with recreating them. The “python” executable in the bin folder is an executable and is probably specific to your architecture and/or python binary. You can save all installed python packages and reinstall them in the new virtual environment using pip:

    pip freeze -E lepoc > requirements.txt
    pip install -E newve -r /path/to/pip-requirements.txt
    

    See also http://www.saltycrane.com/blog/2009/05/notes-using-pip-and-virtualenv-django/

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

Sidebar

Related Questions

I installed Python 2.6 for one user on Windows Vista. Python works okay, but
I am running a windows machine have installed Python 2.5. I also used the
I want to build an executable to distribute to people without python installed on
Python is installed in a local directory. My directory tree looks like this: (local
I have a Python module installed on my system and I'd like to be
I just installed the first release candidate of Python 3.0 and got this error
I am using python 2.6 on XP. I have just installed py2exe, and I
I have installed pylons based application from egg, so it sits somewhere under /usr/lib/python2.5/site-packages.
I have an install of python 2.5 that fink placed in /sw/bin/. I use
Fedora Core 9 includes Python 2.5.1. I can use YUM to get latest and

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.