instapy-quickstart
instapy-quickstart copied to clipboard
InstaPy error installation
Failed to build regex ERROR: jupyterlab-server 1.0.6 has requirement jsonschema>=3.0.1, but you'll have jsonschema 2.6.0 which is incompatible. ERROR: clarifai 2.6.2 has requirement configparser<4,>=3.5, but you'll have configparser 5.0.0 which is incompatible. Installing collected packages: plyer, regex, python-telegram-bot, EasyProcess, PyVirtualDisplay, configparser, grpcio, MeaningCloud-python, emoji, jsonschema, protobuf, googleapis-common-protos, clarifai, selenium, webdriverdownloader, instapy Running setup.py install for regex ... error ERROR: Command errored out with exit status 1: command: /Users/emi/opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-4oyqvf_d/regex/setup.py'"'"'; file='"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-4oyqvf_d/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/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-record-n3h7xvnf/install-record.txt --single-version-externally-managed --compile cwd: /private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-4oyqvf_d/regex/ Complete output (17 lines): running install running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 creating build/lib.macosx-10.9-x86_64-3.7/regex copying regex_3/init.py -> build/lib.macosx-10.9-x86_64-3.7/regex copying regex_3/regex.py -> build/lib.macosx-10.9-x86_64-3.7/regex copying regex_3/_regex_core.py -> build/lib.macosx-10.9-x86_64-3.7/regex copying regex_3/test_regex.py -> build/lib.macosx-10.9-x86_64-3.7/regex running build_ext building 'regex._regex' extension creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/regex_3 gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/emi/opt/anaconda3/include -arch x86_64 -I/Users/emi/opt/anaconda3/include -arch x86_64 -I/Users/emi/opt/anaconda3/include/python3.7m -c regex_3/_regex.c -o build/temp.macosx-10.9-x86_64-3.7/regex_3/_regex.o xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /Users/emi/opt/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-4oyqvf_d/regex/setup.py'"'"'; file='"'"'/private/var/folders/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-install-4oyqvf_d/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/0t/ps213p0d70bdgctc9t14_z3w0000gn/T/pip-record-n3h7xvnf/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.
i got the same error.
Running setup.py install for regex ... error ERROR: Command errored out with exit status 1: command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/gd/vtsy4zls3y770hhk480kd78r0000gn/T/pip-install-uQBrQq/regex/setup.py'"'"'; file='"'"'/private/var/folders/gd/vtsy4zls3y770hhk480kd78r0000gn/T/pip-install-uQBrQq/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/gd/vtsy4zls3y770hhk480kd78r0000gn/T/pip-record-gy4Mkv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/mithunsuresh/Library/Python/2.7/include/python2.7/regex cwd: /private/var/folders/gd/vtsy4zls3y770hhk480kd78r0000gn/T/pip-install-uQBrQq/regex/ Complete output (17 lines): running install running build running build_py creating build creating build/lib.macosx-10.14-intel-2.7 creating build/lib.macosx-10.14-intel-2.7/regex copying regex_2/init.py -> build/lib.macosx-10.14-intel-2.7/regex copying regex_2/regex.py -> build/lib.macosx-10.14-intel-2.7/regex copying regex_2/_regex_core.py -> build/lib.macosx-10.14-intel-2.7/regex copying regex_2/test_regex.py -> build/lib.macosx-10.14-intel-2.7/regex running build_ext building 'regex._regex' extension creating build/temp.macosx-10.14-intel-2.7 creating build/temp.macosx-10.14-intel-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 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -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.14-intel-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: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/gd/vtsy4zls3y770hhk480kd78r0000gn/T/pip-install-uQBrQq/regex/setup.py'"'"'; file='"'"'/private/var/folders/gd/vtsy4zls3y770hhk480kd78r0000gn/T/pip-install-uQBrQq/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/gd/vtsy4zls3y770hhk480kd78r0000gn/T/pip-record-gy4Mkv/install-record.txt --single-version-externally-managed --user --prefix= --compile --install-headers /Users/mithunsuresh/Library/Python/2.7/include/python2.7/regex Check the logs for full command output.
please solve this
@mthnsrsh I had the same issue. Reason is because we are using mac OS and our developer tool, aka xcode, is out of date. I reinstalled my xcode with the following command and it worked:
xcode-select --install