-
Notifications
You must be signed in to change notification settings - Fork 222
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==20.0.34 not compatible with python on windows #12094
Comments
I also ran into this, since it breaks pre-commit. I can confirm that downgrading to virtualenv=20.0.33 removes the issue. |
ran into the same issue, see my post here: _Originally posted by @jpdus in #10822 (comment) |
virtualenv issue to officially support conda due to this problem. |
Does anyone know why conda does not follow CPython on the venv creation? Why is custom patched? |
Does anybody know what's going on with this question? I used 'Pipenv' in my development, which relies on 'Virtualenv', and now I can't use it properly in my new environment, which annoys me. |
Also, virtualenv==20.0.34 is not compatible with conda on Windows See: ContinuumIO/anaconda-issues#12094 pypa/virtualenv#1986
virtualenv==20.0.34 is not compatible with conda on Windows See: ContinuumIO/anaconda-issues#12094 pypa/virtualenv#1986
virtualenv==20.0.34 is not compatible with conda on Windows See: ContinuumIO/anaconda-issues#12094 pypa/virtualenv#1986
virtualenv==20.0.34 is not compatible with conda on Windows See: ContinuumIO/anaconda-issues#12094 pypa/virtualenv#1986
tysm... i was facing the same issue while installing ESP-IDF on windows 10... downgraing venv got fixd )) |
- Shouldn't have created the file automatically (as the documentation specified) - VENV is pinned as the newer version causes issues with pre-commit - See [this](ContinuumIO/anaconda-issues#12094 (comment)) for more info
FYI: Starting tomorrow, Conda will be broken on Windows for every maintained version of Python. (This will hold true for any virtualenv released in the last 3 years.) |
Actual Behavior
virtualenv v20.0.34 fails on windows with anaconda python. virtualenv v20.0.34 introduced a requirement that python have the file
<PYTHON_DIR>/Lib/venv/scripts/nt/python.exe
. Anaconda python packages do not have this file.Traceback
Related issue
#10822
Virtualenv PRs that introduced the issue
pypa/virtualenv#1976
pypa/virtualenv#1977
Virtualenv line throwing error
https://github.com/gaborbernat/virtualenv/blob/main/src/virtualenv/create/via_global_ref/builtin/cpython/cpython3.py#L71
Expected Behavior
anaconda python & virtualenv==20.0.34 should be compatible.
Steps to Reproduce
On windows, create a conda environment with
python
andvirtualenv==20.0.34
, then try to create a virtualenvAnaconda or Miniconda version:
64-bit Miniconda3
https://repo.anaconda.com/miniconda/Miniconda3-latest-Windows-x86_64.exe
1f4ff67f051c815b6008f144fdc4c3092af2805301d248b56281c36c1f4333e5
Operating System:
Windows 10 64-bit
conda info
conda list --show-channel-urls
The text was updated successfully, but these errors were encountered: