Sublime Forum

Output not functioning :(

#1

New to python and sublime;

Have followed several tutorials to setup the python environment for sublime however when I use: print(‘hello’), my output displays:

/Library/Frameworks/Python.framework/Versions/3.11/bin/python3: can’t find ‘main’ module in ‘/private/var/folders/ry/ppp1xy8s4rsdvk854kckc1ym0000gq/T/AppTranslocation/B3F747D4-572B-4EC9-A141-711AA6A69979/d/Sublime Text.app/Contents/MacOS’
[Finished in 39ms with exit code 1]
[cmd: [‘python3’, ‘-u’, ‘’]]
[dir: /private/var/folders/ry/ppp1xy8s4rsdvk854kckc1ym0000gq/T/AppTranslocation/B3F747D4-572B-4EC9-A141-711AA6A69979/d/Sublime Text.app/Contents/MacOS]
[path: /Library/Frameworks/Python.framework/Versions/3.11/bin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/opt/X11/bin]

I have used the python build (as opposed to the syntax check, which I believe is a common issue for beginners) and I have no idea how to fix this issue.

Any help would be much appreciated.

Kind regards,

0 Likes

#2

Have you saved the file somewhere?

0 Likes

#3

Yep, just saved it, although I’m not sure how to send .py files through the forum.

0 Likes