Skip to content

Python version selection not working #130

@adamvis

Description

@adamvis

Hi, maybe i'm missing something but even using this very last version of the library, it doesn't seem to match documentation when dealing with python version selection at environment creation

Checking library version

 U67461 on  ~ pip freeze
distlib==0.4.0
filelock==3.19.1
platformdirs==4.4.0
typing_extensions==4.15.0
virtualenv==20.35.4
virtualenvwrapper-win==1.2.7

Asking for help on mkvirtualenv command (BROKEN)

 U67461 on  ~ mkvirtualenv -h
New-VirtualEnv : Impossibile trovare un parametro corrispondente al nome 'h'.
In riga:1 car:14
+ mkvirtualenv -h
+              ~~
    + CategoryInfo          : InvalidArgument: (:) [New-VirtualEnv], ParameterBindingException
    + FullyQualifiedErrorId : NamedParameterNotFound,New-VirtualEnv

Activating environment on specific python version (BROKEN)

 U67461 on  ~ mkvirtualenv -python "C:\Users\U67461\AppData\Local\Programs\Python\Python39\python.exe" JH

  ERROR: The path to access to python doesn't exist. Python directory = C:\Users\U67461\AppData\Local\Programs\Python\Python39\python.exe

.which exixsts...

 U67461 on  ~ ls C:\Users\U67461\AppData\Local\Programs\Python\Python311\


    Directory: C:\Users\U67461\AppData\Local\Programs\Python\Python311


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
d-----        10/07/2024     08:30                DLLs
d-----        10/07/2024     08:29                Doc
d-----        19/02/2025     09:36                include
d-----        10/07/2024     08:30                Lib
d-----        10/07/2024     08:30                libs
d-----        09/10/2025     12:33                Scripts
d-----        17/09/2025     09:51                share
d-----        10/07/2024     08:30                tcl
d-----        10/07/2024     08:30                Tools
-a----        02/04/2024     12:43          36874 LICENSE.txt
-a----        02/04/2024     12:44        1563659 NEWS.txt
-a----        11/07/2024     14:45            101 pip.conf
-a----        11/07/2024     14:45            101 pip.ini
-a----        02/04/2024     12:43         103192 python.exe
-a----        02/04/2024     12:43          67352 python3.dll
-a----        02/04/2024     12:43        5800216 python311.dll
-a----        02/04/2024     12:43         101656 pythonw.exe
-a----        02/04/2024     12:43         119192 vcruntime140.dll
-a----        02/04/2024     12:43          49528 vcruntime140_1.dll

Anyone else having the same issues?

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