Am trying to use Sublime Text 3 (Build3211) with Python 3.9.0 on Windows 10.
Have downloaded both successfully and
1. Gone to Sublime Text to: Tools -> Build System -> New Build System
and put the next lines:
{
"cmd": ["python3", "-u", "$file"],
"file_regex": "^[ ]File \"(...?)\", line ([0-9]*)",
"selector": "source.python"
}
2. Then saved it with the name: python3.sublime-build
3. But when I write a program like:
print("Help") and run under Sublime Text to Tools Python 3, I get the following message:
Python was not found but can be installed from the Microsoft Store: https://go.microsoft.com/fwlink?linkID=2082640[Finished in 0.3s]
Am just beginning to learn how to code... PLEASE HELP!
Question - How to link Sublime Text 3 Build system (Build 3211) to Python 3.9 Using Windows 10
Re: Question - How to link Sublime Text 3 Build system (Build 3211) to Python 3.9 Using Windows 10
Try this:
py.exe is installed together with Python, if you used the Python-Installer from python.org: Python on Windows
The alternative is to install with the Microsoft Store Python 3.9. Then py.exe is not installed + py.exe does not find the Interpreters installed via Microsoft Store.
Code: Select all
{
"cmd": ["py", "3.9", "-u", "$file"],
"file_regex": "^[ ]File \"(...?)\", line ([0-9]*)",
"selector": "source.python"
}
py.exe is installed together with Python, if you used the Python-Installer from python.org: Python on Windows
The alternative is to install with the Microsoft Store Python 3.9. Then py.exe is not installed + py.exe does not find the Interpreters installed via Microsoft Store.
Return to “General Discussion”
Who is online
Users browsing this forum: No registered users and 78 guests