Sublime Forum

File not found?; Trackback?

#1

I haven’t been using Sublime Text 3 for very long but it has been an experience and i’ve enjoyed it. After i downloaded Sublime Text 4 i couldn’t use python and when i tried to build it wouldn’t work any gave me the message below. I have tried downloading Sublime Text 3 again but the same message come up when i try to build. I’ve tried using tutorials but none of them work. Someone told me to go into packages and go into Python and drag out Python.sublime-build but the python folder doesn’t exist for me.

Traceback (most recent call last):
File “/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py”, line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File “/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/py_compile.py”, line 218, in
sys.exit(main())
File “/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/py_compile.py”, line 209, in main
compile(filename, doraise=True)
File “/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/py_compile.py”, line 142, in compile
source_bytes = loader.get_data(file)
File “”, line 972, in get_data
FileNotFoundError: [Errno 2] No such file or directory: ‘’
[Finished in 69ms with exit code 1]
[cmd: [‘python3’, ‘-m’, ‘py_compile’, ‘’]]
[dir: /private/var/folders/59/fjmslpbx6ngcc8bscx4x7ks4n5t6l6/T/AppTranslocation/E2CA6B46-D302-4545-975E-C585A1090C20/d/Sublime Text.app/Contents/MacOS]
[path: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]

0 Likes

#2

You need to save your file to disk before you run it for the first time.

1 Like

#3

Thank you!

0 Likes