Skip to content

AssertionError while creating virtualenv on windows 7 #319

Closed
@ionelmc

Description

@ionelmc

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']

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