Collecting jqdatasdk
Using cached jqdatasdk-1.8.9-py3-none-any.whl (151 kB)
Requirement already satisfied: SQLAlchemy>=1.2.8 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jqdatasdk) (1.4.9)
Requirement already satisfied: msgpack>=0.4.7 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jqdatasdk) (1.0.2)
Requirement already satisfied: six in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jqdatasdk) (1.15.0)
Requirement already satisfied: requests in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jqdatasdk) (2.25.1)
Requirement already satisfied: pandas>=0.16.2 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jqdatasdk) (1.2.4)
Collecting thriftpy2>=0.3.9
Using cached thriftpy2-0.4.14.tar.gz (361 kB)
Requirement already satisfied: pymysql>=0.7.6 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jqdatasdk) (1.0.2)
Requirement already satisfied: numpy>=1.9.2 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from jqdatasdk) (1.20.2)
Requirement already satisfied: pytz>=2017.3 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from pandas>=0.16.2->jqdatasdk) (2021.1)
Requirement already satisfied: python-dateutil>=2.7.3 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from pandas>=0.16.2->jqdatasdk) (2.8.1)
Requirement already satisfied: greenlet!=0.4.17 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from SQLAlchemy>=1.2.8->jqdatasdk) (1.0.0)
Requirement already satisfied: ply<4.0,>=3.4 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from thriftpy2>=0.3.9->jqdatasdk) (3.11)
Requirement already satisfied: idna<3,>=2.5 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from requests->jqdatasdk) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from requests->jqdatasdk) (1.26.4)
Requirement already satisfied: certifi>=2017.4.17 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from requests->jqdatasdk) (2020.12.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages (from requests->jqdatasdk) (4.0.0)
Using legacy ‘setup.py install’ for thriftpy2, since package ‘wheel’ is not installed.
Installing collected packages: thriftpy2, jqdatasdk
Running setup.py install for thriftpy2: started
Running setup.py install for thriftpy2: finished with status ‘error’
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python3.9 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/10/5m4ktrfn46l550fmf3wd8f380000gn/T/pip-install-86557jwx/thriftpy2_69e0582a928c426a989e946b7f9f847e/setup.py'"'"'; __file__='"'"'/private/var/folders/10/5m4ktrfn46l550fmf3wd8f380000gn/T/pip-install-86557jwx/thriftpy2_69e0582a928c426a989e946b7f9f847e/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/10/5m4ktrfn46l550fmf3wd8f380000gn/T/pip-record-9yfmm3se/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/thriftpy2
cwd: /private/var/folders/10/5m4ktrfn46l550fmf3wd8f380000gn/T/pip-install-86557jwx/thriftpy2_69e0582a928c426a989e946b7f9f847e/
Complete output (94 lines):
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-3.9
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2
copying thriftpy2/server.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2
copying thriftpy2/hook.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2
copying thriftpy2/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2
copying thriftpy2/thrift.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2
copying thriftpy2/rpc.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2
copying thriftpy2/utils.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2
copying thriftpy2/tornado.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2
copying thriftpy2/http.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2
copying thriftpy2/_compat.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/_ssl.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/sslsocket.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/socket.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/base.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/binary.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/compact.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/exc.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/multiplex.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/json.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol
copying thriftpy2/protocol/base.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/parser.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/exc.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/parser
copying thriftpy2/parser/lexer.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/parser
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib
copying thriftpy2/contrib/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/memory
copying thriftpy2/transport/memory/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/memory
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/buffered
copying thriftpy2/transport/buffered/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/buffered
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/framed
copying thriftpy2/transport/framed/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/framed
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/server.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/client.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/processor.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/rpc.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio
copying thriftpy2/contrib/aio/socket.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/tracking
copying thriftpy2/contrib/tracking/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/tracking
copying thriftpy2/contrib/tracking/tracker.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/tracking
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/buffered.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/base.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/transport
copying thriftpy2/contrib/aio/transport/framed.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/transport
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/binary.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/compact.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/__init__.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/protocol
copying thriftpy2/contrib/aio/protocol/base.py -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/aio/protocol
running egg_info
writing thriftpy2.egg-info/PKG-INFO
writing dependency_links to thriftpy2.egg-info/dependency_links.txt
writing requirements to thriftpy2.egg-info/requires.txt
writing top-level names to thriftpy2.egg-info/top_level.txt
reading manifest file 'thriftpy2.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'thriftpy2.egg-info/SOURCES.txt'
copying thriftpy2/transport/cybase.c -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/cybase.pxd -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport
copying thriftpy2/transport/cybase.pyx -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport
creating build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/protocol/cybin/cybin.c -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/protocol/cybin/cybin.pyx -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/protocol/cybin/endian_port.h -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/protocol/cybin
copying thriftpy2/transport/memory/cymemory.c -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/memory
copying thriftpy2/transport/memory/cymemory.pyx -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/memory
copying thriftpy2/transport/buffered/cybuffered.c -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/buffered
copying thriftpy2/transport/buffered/cybuffered.pyx -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/buffered
copying thriftpy2/transport/framed/cyframed.c -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/framed
copying thriftpy2/transport/framed/cyframed.pyx -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/transport/framed
copying thriftpy2/contrib/tracking/tracking.thrift -> build/lib.macosx-10.9-x86_64-3.9/thriftpy2/contrib/tracking
warning: build_py: byte-compiling is disabled, skipping.
running build_ext
building 'thriftpy2.transport.cybase' extension
creating build/temp.macosx-10.9-x86_64-3.9
creating build/temp.macosx-10.9-x86_64-3.9/thriftpy2
creating build/temp.macosx-10.9-x86_64-3.9/thriftpy2/transport
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 thriftpy2/transport/cybase.c -o build/temp.macosx-10.9-x86_64-3.9/thriftpy2/transport/cybase.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: /usr/local/bin/python3.9 -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/private/var/folders/10/5m4ktrfn46l550fmf3wd8f380000gn/T/pip-install-86557jwx/thriftpy2_69e0582a928c426a989e946b7f9f847e/setup.py’"’"’; file=’"’"’/private/var/folders/10/5m4ktrfn46l550fmf3wd8f380000gn/T/pip-install-86557jwx/thriftpy2_69e0582a928c426a989e946b7f9f847e/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/10/5m4ktrfn46l550fmf3wd8f380000gn/T/pip-record-9yfmm3se/install-record.txt --single-version-externally-managed --compile --install-headers /Library/Frameworks/Python.framework/Versions/3.9/include/python3.9/thriftpy2 Check the logs for full command output.
错误信息如上所示,有哪位同学能帮忙解答一下吗?