Skip to content

[BUG] dotenv cli not used windows venv if it activated #373

Open
@Niccolum

Description

@Niccolum

I use vscode on windows

Command:

python -m venv venv
.venv\Scripts\activate
pip install python-dotenv[cli]
dotenv run -- python -c "import sys; print(sys.executable)"

Expected:
\path\to\venv\Scripts\python.exe

Real:
\path\to\system\python.exe

If needed more info - I will try to provide it ASAP.

Cc: @scad89 help to find this issue

System:
Windows 10.

python -V
Python 3.8.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions