[Python] Pipenv under mingw64 is not activating the virtual enviroment?

Discussão em 'Python' iniciado por Stack, Maio 10, 2025.

  1. Stack

    Stack Membro Participativo

    I have "mingw64/mingw-w64-x86_64-python-pipenv 2025.0.2-1" installed. When I create a new environment it fails to activate it. It doesn't give any errors but as you can see below the path to python doesn't change. How can I debug or fix this problem?

    $ uname -a
    MINGW64_NT-6.3-9600 Corona 3.6.1-28176974.x86_64 2025-04-20 19:58 UTC x86_64 Msys

    $ mkdir test && cd test

    $ pipenv shell
    Creating a virtualenv for this project
    Pipfile: D:/Development/msys2/home/Flachs/test/Pipfile
    Using D:/Development/msys2/mingw64/bin/python.exe3.12.10 to create
    virtualenv...
    [=== ] Creating virtual environment...created virtual environment CPython3.12.10.final.0-64 in 1863ms
    creator CPython3Windows(dest=D:/Development/.virtualenvs/test-sZ6QxXrV,
    clear=False, no_vcs_ignore=False, global=False)
    seeder FromAppData(download=False, pip=bundle, via=copy,
    app_data_dir=C:/Users/Flachs/AppData/Local/pypa/virtualenv)
    added seed packages: pip==25.0.1
    activators
    BashActivator,BatchActivator,FishActivator,NushellActivator,PowerShellActivator
    ,PythonActivator

    Successfully created virtual environment!
    [ ===] Creating virtual environment...
    Virtualenv location: C:/Users/Flachs/.virtualenvs/test-sZ6QxXrV
    Launching subshell in virtual environment...
    (test-sZ6QxXrV)

    $ which python
    /mingw64/bin/python

    Continue reading...

Compartilhe esta Página