Open shakzoola opened 4 years ago
So I am calling pip install python-binance and continue to get this error message.
pip install python-binance
Requirement already satisfied: setuptools in /Library/anaconda3/lib/python3.7/site-packages (from zope.interface>=4.4.2->Twisted->python-binance) (46.0.0.post20200309) Building wheels for collected packages: regex Building wheel for regex (setup.py) ... error ERROR: Command errored out with exit status 1: command: /Library/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-install-mlmdiedy/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-install-mlmdiedy/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-wheel-mw1ipwuf cwd: /private/var/folders/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-install-mlmdiedy/regex/ Complete output (17 lines): running bdist_wheel 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/Library/anaconda3/include -arch x86_64 -I/Library/anaconda3/include -arch x86_64 -I/Library/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: Failed building wheel for regex Running setup.py clean for regex Failed to build regex Installing collected packages: regex, tzlocal, dateparser, txaio, autobahn, python-binance Running setup.py install for regex ... error ERROR: Command errored out with exit status 1: command: /Library/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-install-mlmdiedy/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-install-mlmdiedy/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/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-record-dqyy48u6/install-record.txt --single-version-externally-managed --compile --install-headers /Library/anaconda3/include/python3.7m/regex cwd: /private/var/folders/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-install-mlmdiedy/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/Library/anaconda3/include -arch x86_64 -I/Library/anaconda3/include -arch x86_64 -I/Library/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: /Library/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-install-mlmdiedy/regex/setup.py'"'"'; __file__='"'"'/private/var/folders/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-install-mlmdiedy/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/7n/zlrbbkhj5cj7_1pz9fvdt5t00000gq/T/pip-record-dqyy48u6/install-record.txt --single-version-externally-managed --compile --install-headers /Library/anaconda3/include/python3.7m/regex Check the logs for full command output.
Figured it out and installed xcode
So I am calling
pip install python-binance
and continue to get this error message.