Skip to content

Instantly share code, notes, and snippets.

@didip
Created September 1, 2011 05:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save didip/1185524 to your computer and use it in GitHub Desktop.
Save didip/1185524 to your computer and use it in GitHub Desktop.
# PyPy version: 1.6
# OSX Snow Leopard
# Virtualenv: 1.6.4
# Problem: os.py is actually located under pypy-env/lib-python/modified-2.7
Running virtualenv with interpreter /path/to/pypy/pypy-1.6/bin/pypy
Traceback (most recent call last):
File "app_main.py", line 53, in run_toplevel
File "/Library/Python/2.6/site-packages/virtualenv.py", line 1952, in <module>
main()
File "/Library/Python/2.6/site-packages/virtualenv.py", line 810, in main
never_download=options.never_download)
File "/Library/Python/2.6/site-packages/virtualenv.py", line 901, in create_environment
site_packages=site_packages, clear=clear))
File "/Library/Python/2.6/site-packages/virtualenv.py", line 1036, in install_python
copy_required_modules(home_dir)
File "/Library/Python/2.6/site-packages/virtualenv.py", line 989, in copy_required_modules
copyfile(filename, dst_filename)
File "/Library/Python/2.6/site-packages/virtualenv.py", line 415, in copyfile
copyfileordir(src, dest)
File "/Library/Python/2.6/site-packages/virtualenv.py", line 392, in copyfileordir
shutil.copy2(src, dest)
File "/path/to/pypy/pypy-1.6/lib-python/2.7/shutil.py", line 127, in copy2
copyfile(src, dst)
File "/path/to/pypy/pypy-1.6/lib-python/2.7/shutil.py", line 82, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: 'pypy-env/lib-python/2.7/os.py'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment