Kompilieren mit ein SDK, das scheint nicht zu existieren: /Developer/SDKs/MacOSX10.6.sdk

Ich versuche zu installieren rpy2 für Python ist3 mit dem folgenden Befehl:

easy_install-3.2 rpy2

Dieser gibt es ein paar Warnungen und Fehler:

warning: no previously-included files matching '*patch*' found anywhere in distribution
warning: no previously-included files matching '*diff*' found anywhere in distribution
warning: no previously-included files matching '.hg' found anywhere in distribution
no previously-included directories found matching 'dist'
gcc-4.2 not found, using clang instead
Compiling with an SDK that doesn't seem to exist: /Developer/SDKs/MacOSX10.6.sdk
Please check your Xcode installation
build/python3_rpy/rpy/rinterface/_rinterface.c:51:10: fatal error: 'signal.h' file not found
#include <signal.h>
         ^
1 error generated.
error: Setup script exited with error: command 'clang' failed with exit status 1

Die Datei /Developer/SDKs/MacOSX10.6.sdk scheint zu fehlen, obwohl ich xcode 4.5.1 installiert.

Gibt es keine Datei namens MacOSX10.6.sdk im "Downloads for Apple Developers" auf der Apple-Homepage. Was kann ich tun?

Ps. Es funktioniert alles gut wenn ich nicht angeben Python ist3.

  • Was wird angezeigt, wenn Sie Sie ausführen xcode-select -print-path? Auch, wie war python auf Ihrem system installiert?
  • xcode-select-print-path gibt /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.Plattform/Entwickler und Python ist3 war gekommen von python.org/download (ich habe die 64 bit osx version)
  • Ich fand einen ähnlichen thread stackoverflow.com/questions/2169987/..., aber die Lösung ist es den Download der Datei MacOSX10.4u.sdk, aber keine entsprechende Datei vorhanden ist für 10.6
Schreibe einen Kommentar