Skip to content

virtualenv 1.11.6 not working with pypy 2.4 and pypy3 2.4 #666

Closed
@hurie

Description

@hurie

Windows 7 using pypy 2.4

C:\Python\pypy-2.4.0-win32>pypy.exe ..\virtualenv\virtualenv.py C:\Users\Azhar\VirtualEnv\others-pypy24
New pypy executable in C:\Users\Azhar\VirtualEnv\others-pypy24\bin\pypy.exe
debug: WARNING: Library path not found, using compiled-in sys.path.
debug: WARNING: 'sys.prefix' will not be set.
debug: WARNING: Make sure the pypy binary is kept inside its tree of files.
debug: WARNING: It is ok to create a symlink to it from somewhere else.
debug: OperationError:
debug:  operror-type: ImportError
debug:  operror-value: No module named os
ERROR: The executable C:\Users\Azhar\VirtualEnv\others-pypy24\bin\pypy.exe is not functioning
ERROR: It thinks sys.prefix is u'c:\\python\\pypy-2.4.0-win32' (should be u'c:\\users\\azhar\\virtualenv\\others-pypy24')
ERROR: virtualenv is not compatible with this system or executable
Note: some Windows users have reported this error when they installed Python for "Only this user" or have multiple versions of Python installed. Copying the appropriate PythonXX.dll to the virtualenv Scripts/ directory may fix this problem.

C:\Python\pypy-2.4.0-win32>pypy.exe --version
Python 2.7.8 (f5dcc2477b97, Sep 18 2014, 14:30:11)
[PyPy 2.4.0 with MSC v.1500 32 bit]

C:\Python\pypy-2.4.0-win32>pypy.exe ..\virtualenv\virtualenv.py --version
1.11.6

Using pypy3 2.4

C:\Python\pypy3-2.4.0-win32>pypy.exe ..\virtualenv\virtualenv.py C:\Users\Azhar\VirtualEnv\others-pypy324
New pypy executable in C:\Users\Azhar\VirtualEnv\others-pypy324\bin\pypy.exe
debug: OperationError:
debug:  operror-type: ImportError
debug:  operror-value: No module named traceback
debug: OperationError:
debug:  operror-type: AttributeError
debug:  operror-value: stdout
ERROR: The executable C:\Users\Azhar\VirtualEnv\others-pypy324\bin\pypy.exe is not functioning
ERROR: It thinks sys.prefix is 'c:\\python\\pypy3-2.4.0-win32' (should be 'c:\\users\\azhar\\virtualenv\\others-pypy324')
ERROR: virtualenv is not compatible with this system or executable
Note: some Windows users have reported this error when they installed Python for "Only this user" or have multiple versions of Python installed. Copying the appropriate PythonXX.dll to the virtualenv Scripts/ directory may fix this problem.

C:\Python\pypy3-2.4.0-win32>pypy.exe --version
Python 3.2.5 (b2091e973da6, Oct 19 2014, 21:25:51)
[PyPy 2.4.0 with MSC v.1500 32 bit]

Downgrading to virtualenv 1.9.1, pypy 2.4 success but pypy3 2.4 still fail.

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