Sublime Text 4 (4107) und Python 3.9.1 (Miniconda)

Am Samstag (06.09.25) Vormittag werde ich ein Update der Forensoftware (inkl. aller Plugins) durchführen. Das Forum wird deshalb auf unbestimmte Zeit nicht verfügbar sein. Neuigkeiten wird es im Matrix Chat geben: https://www.kodinerds.net/thread/79927-freischaltung-matrix-chat/
  • Hallo zusammen,

    ich habe Sublime Text 4 (4107) mit Python 3.9.1 (Miniconda) installiert.
    Wenn ich nun den Python Code in Sublime Text 4 direkt über STRG + UMSCHALT + B ausführe, bekomme ich folgende Error-Meldung.

    Code
    [WinError 2] Das System kann die angegebene Datei nicht finden
    [cmd: [‘py’, ‘-u’, ‘C:\Users\Test\Downloads\test.py’]]
    [dir: C:\Users\Test\Downloads]
    [path: C:\PROGRAM FILES\DELL\DW WLAN CARD;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\WINDOWS\SYSTEM32\WINDOWSPOWERSHELL\V1.0;C:\WINDOWS\SYSTEM32\OPENSSH;C:\PROGRAM FILES (X86)\INTEL\INTEL® MANAGEMENT ENGINE COMPONENTS\DAL;C:\PROGRAM FILES\INTEL\INTEL® MANAGEMENT ENGINE COMPONENTS\DAL;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:\Users\Test\miniconda3;C:\Users\Test\miniconda3\Library\mingw-w64\bin;C:\Users\Test\miniconda3\Library\usr\bin;C:\Users\Test\miniconda3\Library\bin;C:\Users\Test\miniconda3\Scripts;C:\Users\Test\AppData\Local\Microsoft\WindowsApps;C:\Users\Test\AppData\Local\Programs\MiKTeX\miktex\bin\x64]
    [Finished]


    Add Miniconda to my PATH environment variable ist aktiviert.
    System: Windows 21H1, Python 3.9.1 (Miniconda), Sublime Text 4 (4107)

    Hat jemand eine Idee was ich tun kann um das Problem zu lösen?

  • Im Forum von Sublime Text habe ich diese Nachricht bekommen.
    Kann jemand damit was anfangen und mir erklären was ich einstellen/einrichten muss:

    Sublime Text supports all versions of external python setups.
    It uses the py python launcher app on Windows, which should be located in C:\Windows directory by default.
    According to your error message, this file is missing. Thus ST doesn’t know what to start.
    Does Minicoda ship with such a launcher app?
    If not you’d need to add a symlink named “py.exe” in any directory which is registered to %PATH% or modify the build system to run “python.exe” instead. It seems the required path to it (“C:\Users\Test\miniconda3\Library\bin”) is already present on %PATH%.

  • Sublime Text supports all versions of external python setups.
    It uses the py python launcher app on Windows, which should be located in C:\Windows directory by default.
    According to your error message, this file is missing. Thus ST doesn’t know what to start.
    Does Minicoda ship with such a launcher app?
    If not you’d need to add a symlink named “py.exe” in any directory which is registered to %PATH% or modify the build system to run “python.exe” instead. It seems the required path to it (“C:\Users\Test\miniconda3\Library\bin”) is already present on %PATH%.


    Es heisst das der Python launcher in c:\Windows sein muss und das der nicht gefunden wird.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!