Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AssertionError while creating virtualenv on windows 7 #319

Closed
ionelmc opened this issue Aug 18, 2012 · 3 comments
Closed

AssertionError while creating virtualenv on windows 7 #319

ionelmc opened this issue Aug 18, 2012 · 3 comments

Comments

@ionelmc
Copy link

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
Copy link

carljm commented Aug 24, 2012

Looks like some path case and slash normalization is needed.

@imbaczek
Copy link

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

@dstufft dstufft mentioned this issue Jan 5, 2015
5 tasks
@stale
Copy link

stale bot commented Jan 15, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Just add a comment if you want to keep it open. Thank you for your contributions.

@stale stale bot added the wontfix label Jan 15, 2019
@stale stale bot closed this as completed Jan 22, 2019
@pypa pypa locked and limited conversation to collaborators Jan 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants