Problème installation sur mac

50 views
Skip to first unread message

Laura Dourlen

unread,
Oct 7, 2020, 3:55:04 AM10/7/20
to SalleDeClasse
Bonjour, 
Je viens d'essayer d'installer SDC sur mon mac. 
J'ai suivi toutes les étapes du tuto sur YouTube mais l'installation ne se termine pas. 
Voici un screen du message d'erreur. 

 Running setup.py install for greenlet ... error

    ERROR: Command errored out with exit status 1:

     command: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-lgqekyel/greenlet/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-lgqekyel/greenlet/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-wj7h9_wx/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/greenlet

         cwd: /private/tmp/pip-install-lgqekyel/greenlet/

    Complete output (9 lines):

    running install

    running build

    running build_ext

    building 'greenlet' extension

    creating build

    creating build/temp.macosx-10.9-x86_64-3.9

    gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch x86_64 -g -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c greenlet.c -o build/temp.macosx-10.9-x86_64-3.9/greenlet.o

    xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

    error: command '/usr/bin/gcc' failed with exit code 1

    ----------------------------------------

ERROR: Command errored out with exit status 1: /Library/Frameworks/Python.framework/Versions/3.9/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/tmp/pip-install-lgqekyel/greenlet/setup.py'"'"'; __file__='"'"'/private/tmp/pip-install-lgqekyel/greenlet/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/tmp/pip-record-wj7h9_wx/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/greenlet Check the logs for full command output.

Si vous avez une idée d'où cela peut venir ... 

Cordialement, 
Laura

th.lecluse

unread,
Oct 21, 2020, 5:01:33 AM10/21/20
to SalleDeClasse
Bonjour,

Tout d'abord mes excuses pour le délai de réponse, l'initiateur du projet, Olivier Lécluse, est tragiquement décédé il y a peu...

Je vois que vous avez la version 3.9 de Python, il se peut que toutes les librairies que nous utilisons ne soient pas compatibles avec cette nouvelle version. Pourriez-vous faire l'installation avec la version 3.8 de Python (comme dans le toto YouTube) ?

Faites-moi savoir si cela fonctionne ou si vous avez besoin d'aide.

Bien cordialement,
--
Thomas Lécluse

Reply all
Reply to author
Forward
0 new messages