Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Apps and Programs
How to configure Sublime Text -- can't get it to Build
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="IgorP" data-source="post: 1841334" data-attributes="member: 367941"><p>I enter the same code. Under Tools/Build System if I choose Python3, altho it's installed I get nothing at all.</p><p></p><p>If under Tools/BuildSystem I choose Python, I get:</p><p></p><p>/usr/bin/python: can't find '__main__' module in ''</p><p>[Finished in 0.0s with exit code 1]</p><p>[shell_cmd: python -u ""]</p><p>[dir: /Applications/Sublime Text.app/Contents/MacOS]</p><p>[path: /Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/sbin:/Users/admin1/anaconda3/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin]</p><p></p><p>The path is apparently all messed up here. As noted originally, Terminal reports the path to Python3 as usr/local/bin/python3.</p><p></p><p>On a previous Mac I once worked with Python for a short time using Jupyter/Anaconda. Remnants from that time seem to cause Sublime to fail to find the right path, but I don't know how to fix it.</p></blockquote><p></p>
[QUOTE="IgorP, post: 1841334, member: 367941"] I enter the same code. Under Tools/Build System if I choose Python3, altho it's installed I get nothing at all. If under Tools/BuildSystem I choose Python, I get: /usr/bin/python: can't find '__main__' module in '' [Finished in 0.0s with exit code 1] [shell_cmd: python -u ""] [dir: /Applications/Sublime Text.app/Contents/MacOS] [path: /Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/sbin:/Users/admin1/anaconda3/bin:/Library/Frameworks/Python.framework/Versions/3.6/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin] The path is apparently all messed up here. As noted originally, Terminal reports the path to Python3 as usr/local/bin/python3. On a previous Mac I once worked with Python for a short time using Jupyter/Anaconda. Remnants from that time seem to cause Sublime to fail to find the right path, but I don't know how to fix it. [/QUOTE]
Verification
Name this item. 🍎
Post reply
Forums
Apple Computing Products:
macOS - Apps and Programs
How to configure Sublime Text -- can't get it to Build
Top