Buildingwheelsforcollected packages:psycopg2Buildingwheelforpsycopg2(setup.py)...errorERROR:Commanderrored outwithexit status1:command:/Users/niamhtohill/ios_dev/vf_api/venv/bin/python3-u-c'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/kk/0xnrjqj950qdky6pkv1dws4r0000gn/T/pip-install-q5q1ago2/psycopg2/setup.py'"'"'; __file__='"'"'/private/var/folders/kk/0xnrjqj950qdky6pkv1dws4r0000gn/T/pip-install-q5q1ago2/psycopg2/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/kk/0xnrjqj950qdky6pkv1dws4r0000gn/T/pip-wheel-3u2cfbpc--python-tag cp37cwd:/private/var/folders/kk/0xnrjqj950qdky6pkv1dws4r0000gn/T/pip-install-q5q1ago2/psycopg2/Completeoutput(144lines):running bdist_wheelrunning buildrunning build_pycreating buildcreating build/lib.macosx-10.9-x86_64-3.7creating build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/_json.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/extras.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/compat.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/errorcodes.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/tz.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/_range.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/_ipaddress.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/_lru_cache.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/__init__.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/extensions.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/errors.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/sql.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2copying lib/pool.py->build/lib.macosx-10.9-x86_64-3.7/psycopg2running build_extbuilding'psycopg2._psycopg'extensioncreating build/temp.macosx-10.9-x86_64-3.7creating build/temp.macosx-10.9-x86_64-3.7/psycopggcc-Wno-unused-result-Wsign-compare-Wunreachable-code-fno-common-dynamic-DNDEBUG-g-fwrapv-O3-Wall-arch x86_64-g-DPSYCOPG_VERSION=2.8.3(dt dec pq3 ext lo64)-DPG_VERSION_NUM=100005-DHAVE_LO64=1-I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m-I.-I/usr/local/Cellar/postgresql/10.5/include-I/usr/local/Cellar/postgresql/10.5/include/server-c psycopg/psycopgmodule.c-o build/temp.macosx-10.9-x86_64-3.7/psycopg/psycopgmodule.ogcc-Wno-unused-result-Wsign-compare-Wunreachable-code-fno-common-dynamic-DNDEBUG-g-fwrapv-O3-Wall-arch x86_64-g-DPSYCOPG_VERSION=2.8.3(dt dec pq3 ext lo64)-DPG_VERSION_NUM=100005-DHAVE_LO64=1-I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m-I.-I/usr/local/Cellar/postgresql/10.5/include-I/usr/local/Cellar/postgresql/10.5/include/server-c psycopg/green.c-o build/temp.macosx-10.9-x86_64-3.7/psycopg/green.ogcc-Wno-unused-result-Wsign-compare-Wunreachable-code-fno-common-dynamic-DNDEBUG-g-fwrapv-O3-Wall-arch x86_64-g-DPSYCOPG_VERSION=2.8.3(dt dec pq3 ext lo64)-DPG_VERSION_NUM=100005-DHAVE_LO64=1-I/Library/Frameworks/Python.framework/Versions/3.7/include/python3.7m-I.-I/usr/local/Cellar/postgresql/10.5/include-I/usr/local/Cellar/postgresql/10.5/include/server-c psycopg/pqpath.c-o build/temp.macosx-10.9-x86_64-3.7/psycopg/pqpath.opsycopg/pqpath.c:135:17:warning:implicit conversionfromenumeration type'ConnStatusType'to different enumeration type'ExecStatusType'[-Wenum-conversion]PQstatus(conn->pgconn):PQresultStatus(*pgres)));^~~~~~~~~~~~~~~~~~~~~~psycopg/pqpath.c:1712:11:warning:code will never be executed[-Wunreachable-code]ret=1;^psycopg/pqpath.c:1817:17:warning:implicit conversionfromenumeration type'ConnStatusType'to different enumeration type'ExecStatusType'[-Wenum-conversion]PQstatus(curs->conn->pgconn):PQresultStatus(curs->pgres)));^~~~~~~~~~~~~~~~~~~~~~~~~~~~............................/adapter_qstring.o build/temp.macosx-10.9-x86_64-3.7/psycopg/microprotocols.o build/temp.macosx-10.9-x86_64-3.7/psycopg/microprotocols_proto.o build/temp.macosx-10.9-x86_64-3.7/psycopg/typecast.o-L/usr/local/lib-lpq-lssl-lcrypto-o build/lib.macosx-10.9-x86_64-3.7/psycopg2/_psycopg.cpython-37m-darwin.sold:librarynotfoundfor-lsslclang:error:linker command failedwithexit code1(use-v to see invocation)error:command'gcc'failedwithexit status1----------------------------------------ERROR:Commanderrored outwithexit status1:/Users/niamhtohill/ios_dev/vf_api/venv/bin/python3-u-c'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/kk/0xnrjqj950qdky6pkv1dws4r0000gn/T/pip-install-q5q1ago2/psycopg2/setup.py'"'"'; __file__='"'"'/private/var/folders/kk/0xnrjqj950qdky6pkv1dws4r0000gn/T/pip-install-q5q1ago2/psycopg2/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/kk/0xnrjqj950qdky6pkv1dws4r0000gn/T/pip-record-t0kpmijs/install-record.txt--single-version-externally-managed--compile--install-headers/Users/niamhtohill/ios_dev/vf_api/venv/bin/../include/site/python3.7/psycopg2Checkthe logsforfull command output.
python3.7.2安装失败_安装psycopg2失败的python 3.7
最新推荐文章于 2023-07-01 10:47:57 发布