-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
When launching a script with shebang asking for 3.11 (not installed) using py exec script.py, it should automatically install. Instead:
[ERROR] INTERNAL ERROR: NoInstallFoundError: No runtime installed that matches 3.11. Try running "py install 3.11".
# TRACEBACK:
Traceback (most recent call last):
File "manage\__init__.py", line 50, in main
File "manage\commands.py", line 849, in execute
File "manage\install_command.py", line 847, in execute
File "manage\scriptutils.py", line 181, in find_install_from_script
File "manage\scriptutils.py", line 161, in _read_script
File "manage\scriptutils.py", line 80, in _parse_shebang
File "manage\scriptutils.py", line 49, in _find_shebang_command
File "manage\commands.py", line 660, in get_install_to_run
File "manage\installs.py", line 354, in get_install_to_run
manage.exceptions.NoInstallFoundError: No runtime installed that matches 3.11. Try running "py install 3.11".
[ERROR] Internal error 0x00000001. Please report to https://github.com/python/pymanager
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working