You need to provide the full path to python3, since Sublime Text does not read your ~/.bash_profile
file. Open up Terminal, type which python3
, and use that full path:
{
"cmd": ["path/to/python3", "$file"],
"selector": "source.python",
"file_regex": "file \"(...*?)\", line ([0-9]+)"
}
More Related Contents:
- How to Convert python list into nested dictionaries in pythonic way [closed]
- Writing a specific function in python
- Invalid selector: Compound class names not permitted error using Selenium
- webdriver.FirefoxProfile(): Is it possible to use a profile without making a copy of it?
- No multiprocessing print outputs (Spyder)
- Clear PyCharm Run Window
- Wait page to load before getting data with requests.get in python 3
- Set up Python 3 build system with Sublime Text 3
- python 3.0 open() default encoding
- Print doesn’t print when it’s in map, Python
- How to use Tor with Chrome browser through Selenium
- Make sure that you use the correct version of ‘pip’ installed for your Python interpreter located at ‘dir:\projectPath\venv\Scripts\python.exe’
- Selenium “Unable to find a matching set of capabilities” despite driver being in /usr/local/bin
- seaborn histplot and displot output doesn’t match
- ‘python3’ is not recognized as an internal or external command, operable program or batch file
- Failed to load resource: the server responded with a status of 429 (Too Many Requests) and 404 (Not Found) with ChromeDriver Chrome through Selenium
- ModuleNotFoundError: No module named ‘__main__.xxxx’; ‘__main__’ is not a package
- “Eager” Page Load Strategy workaround for Chromedriver Selenium in Python
- Convert object data type to string issue in python
- Python ModuleNotFoundError while importing a module in conftest for Pytest framework
- How to make python 3 print() utf8
- Pandas pd.cut() – binning datetime column / series
- Permission Error When Trying to Use PyInstaller
- Keras, Tensorflow : Merge two different model output into one
- How to bypass being rate limited ..HTML Error 1015 using Python
- Fetching multiple urls with aiohttp in python
- selenium.common.exceptions.WebDriverException: Message: unknown error: unable to discover open pages using ChromeDriver through Selenium
- ImportError: cannot import name ‘escape’ from ‘jinja2’
- Can’t install Matplotlib on Python 3.10 after its release (2021-10-05)
- Debugging Numpy VisibleDeprecationWarning (ndarray from ragged nested sequences)