Skip to content

Instantly share code, notes, and snippets.

@jayakumarc
Created April 10, 2013 13:48
Show Gist options
  • Save jayakumarc/5354781 to your computer and use it in GitHub Desktop.
Save jayakumarc/5354781 to your computer and use it in GitHub Desktop.
virtualenv --no-site-packages build\python -p C:\\Python33\\python.exe
Fatal Python error: Py_Initialize: unable to load the file system codec
File "C:\Users\jayakum\selenium\build\python\lib\encodings\__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
Using base prefix 'C:\\Python33'
New python executable in build\python\Scripts\python.exe
ERROR: The executable build\python\Scripts\python.exe is not functioning
ERROR: It thinks sys.prefix is 'c:\\users\\jayakum\\selenium' (should be 'c:\\users\\jayakum\\selenium\\build\\python')
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. Copyi
ng the appropriate PythonXX.dll to the virtualenv Scripts/ directory may fix this problem.
Running virtualenv with interpreter C:\\Python33\\python.exe
PYTHON DEPENDENCY ERROR: Virtualenv not found.
Please run '[sudo] pip install virtualenv'
build\python\Scripts\pip install third_party/py/py-1.4.13.tar.gz third_party/py/pytest-2.3.4.zip
Fatal Python error: Py_Initialize: unable to load the file system codec
File "C:\Users\jayakum\selenium\build\python\lib\encodings\__init__.py", line 123
raise CodecRegistryError,\
^
SyntaxError: invalid syntax
go aborted!
Command failed with status (3): [build\python\Scripts\pip install third_par...]
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment