Skip to content

Cannot create virtualenv after upgrading OS X 10.6.8 Python to 2.7 #694

Closed
@levtatz

Description

@levtatz

I just updated my system Python like so: http://wolfpaulus.com/jounal/mac/installing_python_osx/

Does anyone have any insight into the following error:

$ mkvirtualenv --no-site-packages example_name
New python executable in example_name/bin/python
ERROR: The executable example_name/bin/python is not functioning
ERROR: It thinks sys.prefix is u'/System/Library/Frameworks/Python.framework/Versions/2.7' (should be u'/Users/lev/.virtualenvs/example_name')
ERROR: virtualenv is not compatible with this system or executable
$ which python
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python
$ which virtualenv
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenv
$ which virtualenvwrapper.sh
/System/Library/Frameworks/Python.framework/Versions/2.7/bin/virtualenvwrapper.sh

In my PATH, I have

/System/Library/Frameworks/Python.framework/Versions/2.7/bin

Thank you for your time in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions