InstaPy / instapy-quickstart

💨 Simply get InstaPy up and running in minutes.
GNU General Public License v3.0
766 stars 792 forks source link

Installation of Instapy Error - Please Help! :D #183

Open Carlosemendoschristianos opened 4 years ago

Carlosemendoschristianos commented 4 years ago

ERROR: Command errored out with exit status 1: command: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/st/tk1rvd1j7dq9gkqt5jfn1_nr0000gn/T/pip-install-BCVkND/regex/setup.py'"'"'; file='"'"'/private/var/folders/st/tk1rvd1j7dq9gkqt5jfn1_nr0000gn/T/pip-install-BCVkND/regex/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/var/folders/st/tk1rvd1j7dq9gkqt5jfn1_nr0000gn/T/pip-record-mwb5XY/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/carlos/Library/Python/2.7/include/python2.7/regex cwd: /private/var/folders/st/tk1rvd1j7dq9gkqt5jfn1_nr0000gn/T/pip-install-BCVkND/regex/ Complete output (17 lines): running install running build running build_py creating build creating build/lib.macosx-10.15-x86_64-2.7 creating build/lib.macosx-10.15-x86_64-2.7/regex copying regex_2/init.py -> build/lib.macosx-10.15-x86_64-2.7/regex copying regex_2/regex.py -> build/lib.macosx-10.15-x86_64-2.7/regex copying regex_2/_regex_core.py -> build/lib.macosx-10.15-x86_64-2.7/regex copying regex_2/test_regex.py -> build/lib.macosx-10.15-x86_64-2.7/regex running build_ext building 'regex._regex' extension creating build/temp.macosx-10.15-x86_64-2.7 creating build/temp.macosx-10.15-x86_64-2.7/regex_2 cc -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -iwithsysroot /usr/local/libressl/include -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c regex_2/_regex.c -o build/temp.macosx-10.15-x86_64-2.7/regex_2/_regex.o xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: command 'cc' failed with exit status 1

ERROR: Command errored out with exit status 1: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/st/tk1rvd1j7dq9gkqt5jfn1_nr0000gn/T/pip-install-BCVkND/regex/setup.py'"'"'; file='"'"'/private/var/folders/st/tk1rvd1j7dq9gkqt5jfn1_nr0000gn/T/pip-install-BCVkND/regex/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/var/folders/st/tk1rvd1j7dq9gkqt5jfn1_nr0000gn/T/pip-record-mwb5XY/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/carlos/Library/Python/2.7/include/python2.7/regex Check the logs for full command output.

joelvg92 commented 4 years ago

Looking at the logs, looks like apple Xcode command line tools are missing.