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

virtualenv 14.0.2/14.0.3 fails on Windows (userdict.py lowercased) #856

Closed
tlynn opened this Issue Jan 29, 2016 · 2 comments

Comments

Projects
None yet
1 participant
@tlynn

tlynn commented Jan 29, 2016

With Python 2.7.10 and virtualenv 14.0.2 or 14.0.3, "virtualenv env" fails on Windows with "ImportError: No module named UserDict". This is presumably due to the fact it installs userdict.py rather than UserDict.py in env\lib.

@tlynn

This comment has been minimized.

Show comment
Hide comment
@tlynn

tlynn Jan 29, 2016

This worked on 14.0.1.

Workaround: manually running "ren env\lib\userdict.py UserDict.py" seems to fix the created virtualenv.

tlynn commented Jan 29, 2016

This worked on 14.0.1.

Workaround: manually running "ren env\lib\userdict.py UserDict.py" seems to fix the created virtualenv.

@tlynn

This comment has been minimized.

Show comment
Hide comment
@tlynn

tlynn Jan 29, 2016

I'd guess it's the "filename = os.path.normcase(os.path.abspath(filename))" line added in ac4ea65.

tlynn commented Jan 29, 2016

I'd guess it's the "filename = os.path.normcase(os.path.abspath(filename))" line added in ac4ea65.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment