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

[Rewrite] Creating a Python 2.7 environment does not copy python27.dll #1484

Closed
pfmoore opened this issue Jan 9, 2020 · 1 comment
Closed

Comments

@pfmoore
Copy link
Member

pfmoore commented Jan 9, 2020

To reproduce, start with an environment with no Python 2.7 installed.

  • Get the 2.7.17 MSI installer from python.org and run it.
  • Select the "install just for me" option (the default option to install globally puts python27.dll in the windows directory, which masks the bug).
  • Choose all defaults, but deselect "Register extensions" and "Add Python to PATH".
  • C:\Python27\python.exe -m pip install virtualenv-rewrite.whl (I built the rewrite branch to a local wheel file and installed that, you can probably install the rewrite branch any way you like).
  • C:\Python27\python.exe -m virtualenv xx

Now look in xx\Scripts and there is no python27.dll file. Running xx\Scripts\python.exe fails with an error "python27.dll not found".

@gaborbernat
Copy link
Contributor

Yeah, this seems like something we need to fix; I'll tackle this and other feedback issues after #1482, which turned out a lot harder than expected (pypy unicode support with files has lot of gaps compared to CPython 😢) Thanks!

@gaborbernat gaborbernat added this to the 20.0.0 milestone Jan 9, 2020
@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

2 participants