F
F
flale2018-02-12 17:40:39
macOS
flale, 2018-02-12 17:40:39

What is the build error in sublime?

Actually, it gives this text when trying to build the program:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File " /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/py_compile.py", line 170, in
sys.exit(main())
File "/System/Library/Frameworks/Python.framework /Versions/2.7/lib/python2.7/py_compile.py", line 162, in main
compile(filename, doraise=True)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/py_compile.py", line 106, in compile
with open(file, 'U') as f:
IOError: [Errno 2 ] No such file or directory: ''
[Finished in 0.1s with exit code 1]
[shell_cmd: python -m py_compile ""]
[dir: /private/var/folders/pj/kr5q4l414yx9lq7z2gwzgt6c0000gn/T/AppTranslocation/4A4DCFA7-AAE2 -461F-9685-CFF3EF1AC90D /d/Sublime Text.app/Contents/MacOS]
[path: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin]

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2018-02-12
@dmtrrr

with open(file, 'U') as f:
IOError: [Errno 2] No such file or directory: ''

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question