ich habe mir SciTE für den MAC geholt und bekomme damit den Python-Interpreter nicht gestartet.
Es fängt schon damit an, dass im Menu "Tools" der Go-Befehl nicht aktiv wird (grau). Nur der Syntax-Check funktioniert.
Der simple Aufruf:
Code: Alles auswählen
print "test"
führt beim Syntax-Check zu folgender Meldung:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: Operation not permitted
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/py_compile.py", line 123, in compile
IOError: [Errno 1] Operation not permitted: '/Users/xxxxmacair/Documents/PythonScripte/test.pyc'
Meine SciTE-Properties:
Code: Alles auswählen
if PLAT_GTK
command.go.*.py=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -u $(FileNameExt)
command.go.*.pyw=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/pythonw2.7 -u $(FileNameExt)
command.build.SConscript=scons --up .
command.build.SConstruct=scons .
command.name.1.*.py=Syntax Check
command.1.*.py=/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 -c "import py_compile; py_compile.compile(r'$(FilePath)')"
Jemand, der ne Idee hat ?
Update:
Schon krass. Hab das SciTe im Apple-Store GEKAUFT und dann packen die Python-Properties rein, welche die wichtigste Passage für SciTE auf dem Mac NICHT enthalten:
if PLAT_MAC
command.go.*.py=/usr/bin/pythonw -u "$(FileNameExt)"
command.build.SConscript=scons --up .
command.build.SConstruct=scons .
Jetzt läufts.
Gruss, Seven