Skip to content

Installation missing after insstalling with --target setting #215

@USSX-Hares

Description

@USSX-Hares

Background

I have installed 3.14 via pymanager to a custom directory. Pymanager asked me if I would like to add it to Path and then stopped seing it.

I was forced to reinstall Python3.14 installed from MS store because it landed straight to C:/Python314 which I'm not OK with. All previous versions of Python were installed manually, all with the same set of options:

  • Installation directory: C:\Program Files\Python\Python <full version>
  • Add to PATH
  • Precompile standard library
  • Download debugging symbols
  • Install documentation
  • Install tests, pip, tkinter & IDE
  • (Manually) Added symlinks with version suffix: python3.exe, python3.<minor>.exe, python3.<minor>.<micro>.exe

Details

How I have installed it:

pymanager install 3.14.0 -t "C:\Program Files\Python\Python 3.14.0" --configure --dry-run
pymanager install 3.14.0 -t "C:\Program Files\Python\Python 3.14.0" --dry-run
(permission error) pymanager install 3.14.0 -t "C:\Program Files\Python\Python 3.14.0"
(admin) pymanager install 3.14.0 -t "C:\Program Files\Python\Python 3.14.0"
(admin) pymanager install 3.14.0 -t "C:\Program Files\Python\Python 3.14.0" --configure

List of installations:

PS C:\Users\Hares> pymanager list
Tag      Name                  Managed By  Version  Alias
-- No runtimes. Use 'py install <version>' to install one. --

* These runtimes were found, but cannot be updated or uninstalled. *
3.13  *  Python 3.13 (64-bit)  PythonCore  3.13.5
3.12     Python 3.12 (64-bit)  PythonCore  3.12.10
3.11     Python 3.11 (64-bit)  PythonCore  3.11.9
3.10     Python 3.10 (64-bit)  PythonCore  3.10.4
3.9      Python 3.9 (64-bit)   PythonCore  3.9.12
3.8      Python 3.8 (64-bit)   PythonCore  3.8.10
3.7      Python 3.7 (64-bit)   PythonCore  3.7.9
3.6      Python 3.6 (64-bit)   PythonCore  3.6.8
3.5      Python 3.5            PythonCore  3.5```

What have I tried:

(admin) pymanager install 3.14.0 -t "C:\Program Files\Python\Python 3.14.0" --configure
pymanager install 3.14.0 -t "C:\Program Files\Python\Python 3.14.0" --configure
pymanager install --refresth

What have I also done:

  1. Created symlinks within 3.14's installation directory:
    New-Item -Type SymbolicLink -Name python3.14.0.exe -Target python.exe
    New-Item -Type SymbolicLink -Name python3.14.exe -Target python.exe
    New-Item -Type SymbolicLink -Name python3.exe -Target python.exe
    
  2. Manually added installation directory to PATH (pymanager didn't do so)

After all these manipulations and multiple terminal restarts, pymanager still can't find 3.14 even though executable is on PATH:

PS C:\Users\Hares> python3.14 --version
Python 3.14.0
PS C:\Users\Hares> python --version
Python 3.14.0
PS C:\Users\Hares> ${env:PATH}.split(";")
C:\Program Files\Python\Python 3.14.0\Scripts\
C:\Program Files\Python\Python 3.14.0\
C:\Program Files\Python\Python 3.13.5\Scripts\
C:\Program Files\Python\Python 3.13.5\
C:\Program Files\Python\Python 3.12.10\Scripts\
C:\Program Files\Python\Python 3.12.10\
C:\Program Files\Python\Python 3.12.1\Scripts\
C:\Program Files\Python\Python 3.12.1\
C:\Program Files\Python\Python 3.11.9\Scripts\
C:\Program Files\Python\Python 3.11.9\
C:\Program Files\Python\Python 3.10.4\Scripts\
C:\Program Files\Python\Python 3.10.4\
C:\Program Files\Python\Python 3.9.12\Scripts\
C:\Program Files\Python\Python 3.9.12\
C:\Program Files\Python\Python 3.8.10\Scripts\
C:\Program Files\Python\Python 3.8.10\
C:\Program Files\Python\Python 3.7.9\Scripts\
C:\Program Files\Python\Python 3.7.9\
C:\Program Files\Python\Python 3.6.8\Scripts\
C:\Program Files\Python\Python 3.6.8\
C:\Program Files\Python\Python 3.5.4\Scripts\
C:\Program Files\Python\Python 3.5.4\
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Program Files\Microsoft\jdk-11.0.28.6-hotspot\bin
C:\Program Files\MATLAB\R2023a\bin
C:\Program Files\Microsoft VS Code\bin
C:\Program Files\WireGuard\
C:\Program Files\jq
C:\Program Files\Git\cmd
C:\Program Files\Git\mingw64\bin
C:\Program Files\Git\usr\bin
C:\Program Files\Docker\Docker\resources\bin
C:\Program Files\Python\PAGE
C:\Program Files\nodejs\
C:\ProgramData\chocolatey\bin
C:\Users\Hares\AppData\Local\Microsoft\WindowsApps
C:\Program Files\JetBrains\PyCharm 2023.1\bin
C:\Program Files\JetBrains\PyCharm Community Edition 2023.1\bin
C:\Users\Hares\Python\Python312\Scripts
C:\Users\Hares\AppData\Roaming\Python\Python312\Scripts
C:\Users\Hares\AppData\Local\Microsoft\WinGet\Links
C:\Users\Hares\AppData\Roaming\npm

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions