Fehler bei der Luftstrominstallation. Fehler beim Erstellen des Wheels für Google-Re2 und Greenlet (setup.py)Python

Python-Programme
Guest
 Fehler bei der Luftstrominstallation. Fehler beim Erstellen des Wheels für Google-Re2 und Greenlet (setup.py)

Post by Guest »

Wenn ich der offiziellen Dokumentation von Apache Airflow folge, um pip3 zu installieren, verwende ich die Einschränkungsdatei:
https://airflow.apache.org/docs/apache- ... start.html
Ich habe die Fehlermeldung erhalten. Der Hauptteil der Fehlermeldung lautet:

Code: Select all

> Building wheels for collected packages: google-re2, pendulum, greenlet
> Building wheel for google-re2 (setup.py) ... error   error:
> subprocess-exited-with-error
>      × python setup.py bdist_wheel did not run successfully.   │ exit code: 1   ╰─> [15 lines of output]
>       running bdist_wheel
>       running build
>       running build_py
>       creating build
>       creating build/lib.macosx-10.9-x86_64-cpython-39
>       copying re2.py -> build/lib.macosx-10.9-x86_64-cpython-39
>       running build_ext
>       building '_re2' extension
>       creating build/temp.macosx-10.9-x86_64-cpython-39
>       clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /Users/yuenfannie/opt/anaconda3/include -arch x86_64
> -I/Users/yuenfannie/opt/anaconda3/include -fPIC -O2 -isystem /Users/yuenfannie/opt/anaconda3/include -arch x86_64
> -I/Users/yuenfannie/opt/anaconda3/include/python3.9 -c _re2.cc -o build/temp.macosx-10.9-x86_64-cpython-39/_re2.o -fvisibility=hidden
>       clang: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
>       clang: error: unable to read SDK settings for '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
>       sh: line 1:   848 Bus error: 10           /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
> -find clang 2> /dev/null
>       clang: error: unable to find utility "clang", not a developer tool or in PATH
>       error: command '/usr/bin/clang' failed with exit code 72
>       [end of output]
>      note: This error originates from a subprocess, and is likely not a problem with pip.   ERROR: Failed building wheel for google-re2
Kann man mit setup.py oder bdist_wheel etwas machen? Was ist in diesem Fall zu tun?
Alle Kommentare sind willkommen.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post