Closed JVanloofsvelt closed 2 years ago
I did some research, apparently the installer has three strategies for creating a virtualenv:
Remarks:
How should the installer.py be modified then? IMO: use_venv() should fail (or rather be skipped) if the pip version that comes with ensurepip() is older than version 18.0.
I'm guessing I created this issue in the wrong repository. I created a copy in the Lektor repository: https://github.com/lektor/lektor/issues/808
Not the wrong repo if the fix can be applied to the installer script located here.
Thanks Andres, I was looking for it!
This can be closed along with #307 , presumably, since it sounds like the old installer script will be deprecated/removed if it isn't already.
On Windows, the virtual environment created by installer.py comes with an old pip version. It complains about the option '--prefer-binary' since this option was not supported by the old pip version.
It might be related to the fact that I have an older Python 3.5 installation that came with an older pip version.