AssertionError while creating virtualenv on windows 7 #319

Open
ionelmc opened this Issue Aug 18, 2012 · 2 comments

Comments

Projects
None yet
3 participants
@ionelmc

ionelmc commented Aug 18, 2012

I'm running "virtualenv ve" on 64bit windows with virtualenv 1.7.2 and I get this:

Traceback (most recent call last):
  File "D:\Python27\Scripts\virtualenv-script.py", line 9, in <module>
    load_entry_point('virtualenv==1.7.2', 'console_scripts', 'virtualenv')()
  File "d:\python27\lib\site-packages\virtualenv.py", line 942, in main
    never_download=options.never_download)
  File "d:\python27\lib\site-packages\virtualenv.py", line 1043, in create_environment
    site_packages=site_packages, clear=clear))
  File "d:\python27\lib\site-packages\virtualenv.py", line 1188, in install_python
    copy_required_modules(home_dir)
  File "d:\python27\lib\site-packages\virtualenv.py", line 1140, in copy_required_modules
    dst_filename = change_prefix(filename, dst_prefix)
  File "d:\python27\lib\site-packages\virtualenv.py", line 1115, in change_prefix
    (filename, prefixes)
AssertionError: Filename d:\python27\lib\site-packages\readline.py does not start with any of these prefixes: ['D:\\Python27']
@carljm

This comment has been minimized.

Show comment Hide comment
@carljm

carljm Aug 24, 2012

Contributor

Looks like some path case and slash normalization is needed.

Contributor

carljm commented Aug 24, 2012

Looks like some path case and slash normalization is needed.

@imbaczek

This comment has been minimized.

Show comment Hide comment
@imbaczek

imbaczek May 23, 2013

got the exact same error message just now, except i've got python installed on c: instead of d:.

got the exact same error message just now, except i've got python installed on c: instead of d:.

@dstufft dstufft referenced this issue Jan 5, 2015

Closed

Rewrite virtualenv #697

0 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment