как я могу установить psycopg2 на python 2.7 интерпретатор из дистрибутива arcgis 10.2 - PullRequest
0 голосов
/ 28 апреля 2020

У меня есть python 2.7 дистрибутив с лицензионным пакетом (arcpy). Я пытался добавить несколько пакетов с pip, но у меня есть проблема "InsecurePlatformWarning ...". Ручная установка в некоторых случаях работает, но сейчас я пытаюсь установить psycopg2 безрезультатно. Шаги, которые я сделал: - Я загружаю пакет с https://pypi.org/project/psycopg2/#files (последний). - Я добавил путь к корзине postgresql (произошла ошибка с * .cfg) - Я установил Microsoft C ++ для python (обязательно)

После запуска команды python setup.py install Я получаю :

python setup.py install
running install
running bdist_egg
running egg_info
writing psycopg2_binary.egg-info\PKG-INFO
writing top-level names to psycopg2_binary.egg-info\top_level.txt
writing dependency_links to psycopg2_binary.egg-info\dependency_links.txt
reading manifest file 'psycopg2_binary.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'psycopg2_binary.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
running build_ext
building 'psycopg2._psycopg' extension
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\psycopgmodule.c /Fobuild\temp.win32-2.7\Release\psycopg\psycopgmodule.obj
psycopgmodule.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\green.c /Fobuild\temp.win32-2.7\Release\psycopg\green.obj
green.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\pqpath.c /Fobuild\temp.win32-2.7\Release\psycopg\pqpath.obj
pqpath.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\utils.c /Fobuild\temp.win32-2.7\Release\psycopg\utils.obj
utils.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\bytes_format.c /Fobuild\temp.win32-2.7\Release\psycopg\bytes_format.obj
bytes_format.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\libpq_support.c /Fobuild\temp.win32-2.7\Release\psycopg\libpq_support.obj
libpq_support.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\win32_support.c /Fobuild\temp.win32-2.7\Release\psycopg\win32_support.obj
win32_support.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\solaris_support.c /Fobuild\temp.win32-2.7\Release\psycopg\solaris_support.obj
solaris_support.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\aix_support.c /Fobuild\temp.win32-2.7\Release\psycopg\aix_support.obj
aix_support.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\connection_int.c /Fobuild\temp.win32-2.7\Release\psycopg\connection_int.obj
connection_int.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\connection_type.c /Fobuild\temp.win32-2.7\Release\psycopg\connection_type.obj
connection_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\cursor_int.c /Fobuild\temp.win32-2.7\Release\psycopg\cursor_int.obj
cursor_int.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\cursor_type.c /Fobuild\temp.win32-2.7\Release\psycopg\cursor_type.obj
cursor_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\column_type.c /Fobuild\temp.win32-2.7\Release\psycopg\column_type.obj
column_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\replication_connection_type.c /Fobuild\temp.win32-2.7\Release\psycopg\replication_connection_type.obj
replication_connection_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\replication_cursor_type.c /Fobuild\temp.win32-2.7\Release\psycopg\replication_cursor_type.obj
replication_cursor_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\replication_message_type.c /Fobuild\temp.win32-2.7\Release\psycopg\replication_message_type.obj
replication_message_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\diagnostics_type.c /Fobuild\temp.win32-2.7\Release\psycopg\diagnostics_type.obj
diagnostics_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\error_type.c /Fobuild\temp.win32-2.7\Release\psycopg\error_type.obj
error_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\conninfo_type.c /Fobuild\temp.win32-2.7\Release\psycopg\conninfo_type.obj
conninfo_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\lobject_int.c /Fobuild\temp.win32-2.7\Release\psycopg\lobject_int.obj
lobject_int.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\lobject_type.c /Fobuild\temp.win32-2.7\Release\psycopg\lobject_type.obj
lobject_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\notify_type.c /Fobuild\temp.win32-2.7\Release\psycopg\notify_type.obj
notify_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\xid_type.c /Fobuild\temp.win32-2.7\Release\psycopg\xid_type.obj
xid_type.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\adapter_asis.c /Fobuild\temp.win32-2.7\Release\psycopg\adapter_asis.obj
adapter_asis.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\adapter_binary.c /Fobuild\temp.win32-2.7\Release\psycopg\adapter_binary.obj
adapter_binary.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\adapter_datetime.c /Fobuild\temp.win32-2.7\Release\psycopg\adapter_datetime.obj
adapter_datetime.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\adapter_list.c /Fobuild\temp.win32-2.7\Release\psycopg\adapter_list.obj
adapter_list.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\adapter_pboolean.c /Fobuild\temp.win32-2.7\Release\psycopg\adapter_pboolean.obj
adapter_pboolean.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\adapter_pdecimal.c /Fobuild\temp.win32-2.7\Release\psycopg\adapter_pdecimal.obj
adapter_pdecimal.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\adapter_pint.c /Fobuild\temp.win32-2.7\Release\psycopg\adapter_pint.obj
adapter_pint.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\adapter_pfloat.c /Fobuild\temp.win32-2.7\Release\psycopg\adapter_pfloat.obj
adapter_pfloat.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\adapter_qstring.c /Fobuild\temp.win32-2.7\Release\psycopg\adapter_qstring.obj
adapter_qstring.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\microprotocols.c /Fobuild\temp.win32-2.7\Release\psycopg\microprotocols.obj
microprotocols.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\microprotocols_proto.c /Fobuild\temp.win32-2.7\Release\psycopg\microprotocols_proto.obj
microprotocols_proto.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG "-DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext)" -DPG_VERSION_NUM=120002 -IC:\Python27\ArcGIS10.3\include -IC:\Python27\ArcGIS10.3\PC -I. -IC:/PROGRA~1/POSTGR~1/12/include -IC:/PROGRA~1/POSTGR~1/12/include/server /Tcpsycopg\typecast.c /Fobuild\temp.win32-2.7\Release\psycopg\typecast.obj
typecast.c
C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:C:\Python27\ArcGIS10.3\libs /LIBPATH:C:\Python27\ArcGIS10.3\PCbuild /LIBPATH:C:/PROGRA~1/POSTGR~1/12/lib ws2_32.lib advapi32.lib secur32.lib libpq.lib shfolder.lib build\temp.win32-2.7\Release\psycopg\psycopgmodule.obj build\temp.win32-2.7\Release\psycopg\green.obj build\temp.win32-2.7\Release\psycopg\pqpath.obj build\temp.win32-2.7\Release\psycopg\utils.obj build\temp.win32-2.7\Release\psycopg\bytes_format.obj build\temp.win32-2.7\Release\psycopg\libpq_support.obj build\temp.win32-2.7\Release\psycopg\win32_support.obj build\temp.win32-2.7\Release\psycopg\solaris_support.obj build\temp.win32-2.7\Release\psycopg\aix_support.obj build\temp.win32-2.7\Release\psycopg\connection_int.obj build\temp.win32-2.7\Release\psycopg\connection_type.obj build\temp.win32-2.7\Release\psycopg\cursor_int.obj build\temp.win32-2.7\Release\psycopg\cursor_type.obj build\temp.win32-2.7\Release\psycopg\column_type.obj build\temp.win32-2.7\Release\psycopg\replication_connection_type.obj build\temp.win32-2.7\Release\psycopg\replication_cursor_type.obj build\temp.win32-2.7\Release\psycopg\replication_message_type.obj build\temp.win32-2.7\Release\psycopg\diagnostics_type.obj build\temp.win32-2.7\Release\psycopg\error_type.obj build\temp.win32-2.7\Release\psycopg\conninfo_type.obj build\temp.win32-2.7\Release\psycopg\lobject_int.obj build\temp.win32-2.7\Release\psycopg\lobject_type.obj build\temp.win32-2.7\Release\psycopg\notify_type.obj build\temp.win32-2.7\Release\psycopg\xid_type.obj build\temp.win32-2.7\Release\psycopg\adapter_asis.obj build\temp.win32-2.7\Release\psycopg\adapter_binary.obj build\temp.win32-2.7\Release\psycopg\adapter_datetime.obj build\temp.win32-2.7\Release\psycopg\adapter_list.obj build\temp.win32-2.7\Release\psycopg\adapter_pboolean.obj build\temp.win32-2.7\Release\psycopg\adapter_pdecimal.obj build\temp.win32-2.7\Release\psycopg\adapter_pint.obj build\temp.win32-2.7\Release\psycopg\adapter_pfloat.obj build\temp.win32-2.7\Release\psycopg\adapter_qstring.obj build\temp.win32-2.7\Release\psycopg\microprotocols.obj build\temp.win32-2.7\Release\psycopg\microprotocols_proto.obj build\temp.win32-2.7\Release\psycopg\typecast.obj /OUT:build\lib.win32-2.7\psycopg2\_psycopg.pyd /IMPLIB:build\temp.win32-2.7\Release\psycopg\_psycopg.lib /MANIFESTFILE:build\temp.win32-2.7\Release\psycopg\_psycopg.pyd.manifest
   Creating library build\temp.win32-2.7\Release\psycopg\_psycopg.lib and object build\temp.win32-2.7\Release\psycopg\_psycopg.exp
psycopgmodule.obj : error LNK2019: unresolved external symbol _PQconninfoFree referenced in function _parse_dsn
connection_int.obj : error LNK2001: unresolved external symbol _PQconninfoFree
connection_type.obj : error LNK2001: unresolved external symbol _PQconninfoFree
conninfo_type.obj : error LNK2001: unresolved external symbol _PQconninfoFree
adapter_binary.obj : error LNK2001: unresolved external symbol _PQfreemem
psycopgmodule.obj : error LNK2019: unresolved external symbol _PQfreemem referenced in function _parse_dsn
pqpath.obj : error LNK2001: unresolved external symbol _PQfreemem
connection_int.obj : error LNK2001: unresolved external symbol _PQfreemem
cursor_type.obj : error LNK2001: unresolved external symbol _PQfreemem
psycopgmodule.obj : error LNK2019: unresolved external symbol _PQconninfoParse referenced in function _parse_dsn
connection_int.obj : error LNK2001: unresolved external symbol _PQconninfoParse
psycopgmodule.obj : error LNK2019: unresolved external symbol _PQinitOpenSSL referenced in function _libcrypto_threads_init
psycopgmodule.obj : error LNK2019: unresolved external symbol _PQlibVersion referenced in function _libpq_version
conninfo_type.obj : error LNK2001: unresolved external symbol _PQerrorMessage
lobject_int.obj : error LNK2001: unresolved external symbol _PQerrorMessage
psycopgmodule.obj : error LNK2019: unresolved external symbol _PQerrorMessage referenced in function _encrypt_password
pqpath.obj : error LNK2001: unresolved external symbol _PQerrorMessage
utils.obj : error LNK2001: unresolved external symbol _PQerrorMessage
connection_int.obj : error LNK2001: unresolved external symbol _PQerrorMessage
psycopgmodule.obj : error LNK2019: unresolved external symbol _PQencryptPasswordConn referenced in function _encrypt_password
psycopgmodule.obj : error LNK2019: unresolved external symbol _PQencryptPassword referenced in function _encrypt_password
cursor_int.obj : error LNK2001: unresolved external symbol _PQclear
cursor_type.obj : error LNK2001: unresolved external symbol _PQclear
replication_cursor_type.obj : error LNK2001: unresolved external symbol _PQclear
error_type.obj : error LNK2001: unresolved external symbol _PQclear
green.obj : error LNK2019: unresolved external symbol _PQclear referenced in function _psyco_exec_green
pqpath.obj : error LNK2001: unresolved external symbol _PQclear
connection_int.obj : error LNK2001: unresolved external symbol _PQclear
connection_type.obj : error LNK2001: unresolved external symbol _PQclear
pqpath.obj : error LNK2019: unresolved external symbol _PQresStatus referenced in function _pq_raise
pqpath.obj : error LNK2019: unresolved external symbol _PQresultStatus referenced in function _pq_raise
connection_int.obj : error LNK2001: unresolved external symbol _PQresultStatus
replication_cursor_type.obj : error LNK2001: unresolved external symbol _PQresultStatus
pqpath.obj : error LNK2019: unresolved external symbol _PQresultErrorField referenced in function _pq_raise
diagnostics_type.obj : error LNK2001: unresolved external symbol _PQresultErrorField
pqpath.obj : error LNK2019: unresolved external symbol _PQresultErrorMessage referenced in function _pq_raise
pqpath.obj : error LNK2019: unresolved external symbol _PQstatus referenced in function _pq_raise
connection_int.obj : error LNK2001: unresolved external symbol _PQstatus
conninfo_type.obj : error LNK2001: unresolved external symbol _PQstatus
pqpath.obj : error LNK2019: unresolved external symbol _PQgetResult referenced in function _pq_clear_async
pqpath.obj : error LNK2019: unresolved external symbol _PQsetnonblocking referenced in function _pq_set_non_blocking
pqpath.obj : error LNK2019: unresolved external symbol _PQexec referenced in function _pq_execute_command_locked
pqpath.obj : error LNK2019: unresolved external symbol _PQgetvalue referenced in function _pq_get_guc_locked
cursor_type.obj : error LNK2001: unresolved external symbol _PQgetvalue
pqpath.obj : error LNK2019: unresolved external symbol _PQisBusy referenced in function _pq_get_result_async
pqpath.obj : error LNK2019: unresolved external symbol _PQconsumeInput referenced in function _pq_get_result_async
pqpath.obj : error LNK2019: unresolved external symbol _PQflush referenced in function _pq_flush
connection_int.obj : error LNK2001: unresolved external symbol _PQflush
pqpath.obj : error LNK2019: unresolved external symbol _PQsendQuery referenced in function __pq_execute_async
pqpath.obj : error LNK2019: unresolved external symbol _PQbinaryTuples referenced in function __get_cast
pqpath.obj : error LNK2019: unresolved external symbol _PQftype referenced in function __get_cast
pqpath.obj : error LNK2019: unresolved external symbol _PQfname referenced in function __make_column
pqpath.obj : error LNK2019: unresolved external symbol _PQftablecol referenced in function __make_column
pqpath.obj : error LNK2019: unresolved external symbol _PQftable referenced in function __make_column
pqpath.obj : error LNK2019: unresolved external symbol _PQfmod referenced in function __make_column
pqpath.obj : error LNK2019: unresolved external symbol _PQfsize referenced in function __make_column
pqpath.obj : error LNK2019: unresolved external symbol _PQnfields referenced in function __pq_fetch_tuples
cursor_type.obj : error LNK2001: unresolved external symbol _PQnfields
pqpath.obj : error LNK2019: unresolved external symbol _PQcmdTuples referenced in function __read_rowcount
pqpath.obj : error LNK2019: unresolved external symbol _PQputCopyEnd referenced in function __pq_copy_in_v3
pqpath.obj : error LNK2019: unresolved external symbol _PQputCopyData referenced in function __pq_copy_in_v3
pqpath.obj : error LNK2019: unresolved external symbol _PQgetCopyData referenced in function __pq_copy_out_v3
pqpath.obj : error LNK2019: unresolved external symbol _PQntuples referenced in function _pq_fetch
pqpath.obj : error LNK2019: unresolved external symbol _PQoidValue referenced in function _pq_fetch
pqpath.obj : error LNK2019: unresolved external symbol _PQcmdStatus referenced in function _pq_fetch
pqpath.obj : error LNK2019: unresolved external symbol _PQsocket referenced in function _pq_copy_both
connection_type.obj : error LNK2001: unresolved external symbol _PQsocket
conninfo_type.obj : error LNK2001: unresolved external symbol _PQsocket
utils.obj : error LNK2019: unresolved external symbol _PQescapeString referenced in function _psyco_escape_string
utils.obj : error LNK2019: unresolved external symbol _PQescapeStringConn referenced in function _psyco_escape_string
utils.obj : error LNK2019: unresolved external symbol _PQescapeIdentifier referenced in function _psyco_escape_identifier
connection_int.obj : error LNK2019: unresolved external symbol _PQnotifies referenced in function _conn_notifies_process
connection_int.obj : error LNK2019: unresolved external symbol _PQparameterStatus referenced in function _conn_get_standard_conforming_strings
conninfo_type.obj : error LNK2001: unresolved external symbol _PQserverVersion
connection_int.obj : error LNK2019: unresolved external symbol _PQgetCancel referenced in function _conn_setup_cancel
connection_int.obj : error LNK2019: unresolved external symbol _PQfreeCancel referenced in function _conn_setup_cancel
connection_type.obj : error LNK2001: unresolved external symbol _PQfreeCancel
connection_int.obj : error LNK2019: unresolved external symbol _PQsetNoticeProcessor referenced in function __conn_sync_connect
connection_int.obj : error LNK2019: unresolved external symbol _PQconnectStart referenced in function __conn_sync_connect
connection_int.obj : error LNK2019: unresolved external symbol _PQconnectdb referenced in function __conn_sync_connect
connection_int.obj : error LNK2019: unresolved external symbol _PQconnectPoll referenced in function __conn_poll_connecting
connection_int.obj : error LNK2019: unresolved external symbol _PQfinish referenced in function _conn_close_locked
connection_type.obj : error LNK2019: unresolved external symbol _PQtransactionStatus referenced in function _psyco_conn_get_transaction_status
adapter_binary.obj : error LNK2019: unresolved external symbol _PQescapeByteaConn referenced in function _binary_escape
build\lib.win32-2.7\psycopg2\_psycopg.pyd : fatal error LNK1120: 83 unresolved externals
error: command '"C:\Users\marek\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\link.exe"' failed with exit status 1120
e

Кто-нибудь знает, что происходит? Я установил python 3, и у меня нет таких проблем. Появляется только при попытке установить пакеты в «распределенном» интерпретаторе.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...