Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not possible to install psycopg2cffi in Pypy3 (both windows and linux) #117

Open
af20 opened this issue Dec 1, 2020 · 1 comment
Open

Comments

@af20
Copy link

af20 commented Dec 1, 2020

See the errors in:
pypy-psycopg2cffi-errors.txt

C:\Users\afasu>pypy3 -m pip install psycopg2cffi
Collecting psycopg2cffi
Using cached psycopg2cffi-2.8.1.tar.gz (63 kB)
ERROR: Command errored out with exit status 1:
command: 'C:\pypy3.6\pypy3.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\setup.py'"'"'; file='"'"'C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\afasu\AppData\Local\Temp\pip-pip-egg-info-thtjtqbc'
cwd: C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi
Complete output (244 lines):
cffi__gb749ea69xcdd7e6bc.c
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(68): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(75): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(82): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(89): warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(122): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(124): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(125): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(132): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(134): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(135): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(142): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(144): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(145): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(152): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(154): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(155): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(162): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(164): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(165): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(172): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(174): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(175): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(182): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(184): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(185): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(192): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(194): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(195): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(202): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(204): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(205): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(217): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(219): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(220): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(227): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(229): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(230): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(237): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(239): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(240): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(247): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(249): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(250): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(257): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(259): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(260): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(267): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(269): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(270): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(277): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(279): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(280): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(287): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(289): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(290): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(302): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(304): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(305): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(312): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(314): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(315): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(322): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(324): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(325): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(332): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(334): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(335): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(342): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(344): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(345): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(357): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(359): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(360): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(367): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(369): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(370): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(377): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(379): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(380): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(387): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(389): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(390): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(397): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(399): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.c(400): warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead. To disable deprecation, use CRT_SECURE_NO_WARNINGS. See online help for details.
Creazione della libreria C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\psycopg2cffi_impl_pycache
\Release\psycopg2cffi_impl_pycache__cffi__gb749ea69xcdd7e6bc.pypy36-pp73-win32.lib e dell'oggetto C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\psycopg2cffi_impl_pycache_\Release\psycopg2cffi_impl_pycache__cffi__gb749ea69xcdd7e6bc.pypy36-pp73-win32.exp
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQescapeString non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_truncate non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQfreemem non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_write non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_export non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQsetnonblocking non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQunescapeBytea non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQgetvalue non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQconnectPoll non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQresultStatus non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_import non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQoidValue non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQcmdStatus non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQsocket non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQputCopyData non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQstatus non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQisBusy non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQconsumeInput non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQresultErrorField non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQfsize non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQserverVersion non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQnotifies non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQfname non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQsendQuery non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQgetCopyData non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQsetNoticeProcessor non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQerrorMessage non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQflush non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQgetisnull non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQftype non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_read non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQnfields non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQescapeLiteral non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQgetCancel non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_tell non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQfinish non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQrequestCancel non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQresultErrorMessage non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQexec non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_create non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQescapeByteaConn non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_lseek non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQescapeStringConn non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQprotocolVersion non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQcancel non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQtransactionStatus non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQgetlength non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQfreeCancel non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_unlink non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQbackendPID non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQclear non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQfmod non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_open non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQcmdTuples non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQconnectdb non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQntuples non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQescapeBytea non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQputCopyEnd non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQgetResult non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _PQconnectStart non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno _lo_close non risolto
_cffi__gb749ea69xcdd7e6bc.obj : error LNK2001: simbolo esterno PQparameterStatus non risolto
C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\psycopg2cffi_impl_pycache
_cffi__gb749ea69xcdd7e6bc.pypy36-pp73-win32.pyd : fatal error LNK1120: 62 esterni non risolti
Traceback (most recent call last):
File "C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\psycopg2cffi_impl\libpq.py", line 2, in
from psycopg2cffi._impl._libpq import ffi, lib as libpq
ModuleNotFoundError: No module named 'psycopg2cffi._impl._libpq'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\pypy3.6\lib-python\3\distutils\_msvccompiler.py", line 499, in link
    self.spawn([self.linker] + ld_args)
  File "C:\pypy3.6\lib-python\3\distutils\_msvccompiler.py", line 509, in spawn
    return super().spawn(cmd)
  File "C:\pypy3.6\lib-python\3\distutils\ccompiler.py", line 909, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "C:\pypy3.6\lib-python\3\distutils\spawn.py", line 38, in spawn
    _spawn_nt(cmd, search_path, dry_run=dry_run)
  File "C:\pypy3.6\lib-python\3\distutils\spawn.py", line 81, in _spawn_nt
    "command %r failed with exit status %d" % (cmd, rc))
distutils.errors.DistutilsExecError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x86\\link.exe' failed with exit status 1120

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\pypy3.6\lib_pypy\cffi\ffiplatform.py", line 51, in _build
    dist.run_command('build_ext')
  File "C:\pypy3.6\lib-python\3\distutils\dist.py", line 974, in run_command
    cmd_obj.run()
  File "C:\pypy3.6\site-packages\setuptools\command\build_ext.py", line 79, in run
    _build_ext.run(self)
  File "C:\pypy3.6\lib-python\3\distutils\command\build_ext.py", line 342, in run
    self.build_extensions()
  File "C:\pypy3.6\lib-python\3\distutils\command\build_ext.py", line 451, in build_extensions
    self._build_extensions_serial()
  File "C:\pypy3.6\lib-python\3\distutils\command\build_ext.py", line 476, in _build_extensions_serial
    self.build_extension(ext)
  File "C:\pypy3.6\site-packages\setuptools\command\build_ext.py", line 196, in build_extension
    _build_ext.build_extension(self, ext)
  File "C:\pypy3.6\lib-python\3\distutils\command\build_ext.py", line 561, in build_extension
    target_lang=language)
  File "C:\pypy3.6\lib-python\3\distutils\ccompiler.py", line 717, in link_shared_object
    extra_preargs, extra_postargs, build_temp, target_lang)
  File "C:\pypy3.6\lib-python\3\distutils\_msvccompiler.py", line 501, in link
    raise LinkError(msg)
distutils.errors.LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x86\\link.exe' failed with exit status 1120

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\setup.py", line 129, in <module>
    setup(**setup_kwargs)
  File "C:\pypy3.6\site-packages\setuptools\__init__.py", line 153, in setup
    return distutils.core.setup(**attrs)
  File "C:\pypy3.6\lib-python\3\distutils\core.py", line 108, in setup
    _setup_distribution = dist = klass(attrs)
  File "C:\pypy3.6\site-packages\setuptools\dist.py", line 424, in __init__
    k: v for k, v in attrs.items()
  File "C:\pypy3.6\lib-python\3\distutils\dist.py", line 281, in __init__
    self.finalize_options()
  File "C:\pypy3.6\site-packages\setuptools\dist.py", line 695, in finalize_options
    ep(self)
  File "C:\pypy3.6\site-packages\setuptools\dist.py", line 702, in _finalize_setup_keywords
    ep.load()(self, ep.name, value)
  File "C:\pypy3.6\lib_pypy\cffi\setuptools_ext.py", line 219, in cffi_modules
    add_cffi_module(dist, cffi_module)
  File "C:\pypy3.6\lib_pypy\cffi\setuptools_ext.py", line 49, in add_cffi_module
    execfile(build_file_name, mod_vars)
  File "C:\pypy3.6\lib_pypy\cffi\setuptools_ext.py", line 25, in execfile
    exec(code, glob, glob)
  File "psycopg2cffi/_impl/_build_libpq.py", line 171, in <module>
    _config = PostgresConfig()
  File "psycopg2cffi/_impl/_build_libpq.py", line 22, in __init__
    from psycopg2cffi import _config
  File "C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\psycopg2cffi\__init__.py", line 4, in <module>
    from psycopg2cffi import extensions
  File "C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\psycopg2cffi\extensions.py", line 39, in <module>
    from psycopg2cffi._impl import connection as _connection
  File "C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\psycopg2cffi\_impl\connection.py", line 10, in <module>
    from psycopg2cffi._impl import exceptions
  File "C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\psycopg2cffi\_impl\exceptions.py", line 12, in <module>
    from psycopg2cffi._impl.libpq import libpq, ffi
  File "C:\Users\afasu\AppData\Local\Temp\pip-install-s2r0mwdc\psycopg2cffi\psycopg2cffi\_impl\libpq.py", line 5, in <module>
    libpq = ffi.verify(C_SOURCE, **C_SOURCE_KWARGS)
  File "C:\pypy3.6\lib_pypy\cffi\api.py", line 468, in verify
    lib = self.verifier.load_library()
  File "C:\pypy3.6\lib_pypy\cffi\verifier.py", line 104, in load_library
    self._compile_module()
  File "C:\pypy3.6\lib_pypy\cffi\verifier.py", line 201, in _compile_module
    outputfilename = ffiplatform.compile(tmpdir, self.get_extension())
  File "C:\pypy3.6\lib_pypy\cffi\ffiplatform.py", line 22, in compile
    outputfilename = _build(tmpdir, ext, compiler_verbose, debug)
  File "C:\pypy3.6\lib_pypy\cffi\ffiplatform.py", line 58, in _build
    raise VerificationError('%s: %s' % (e.__class__.__name__, e))
cffi.VerificationError: LinkError: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.28.29333\\bin\\HostX86\\x86\\link.exe' failed with exit status 1120
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@bitranch
Copy link

bitranch commented Feb 10, 2022

We're having the same issue with both pypy3.6 and pypy3.8. It builds the _libpq .so file but can't load it, which causes it to attempt to re-build the file at runtime. This happens on both Alpine and Debian linux builds.

Note that we can build 2.8.1 (with a random runtime error in the cursor code), but 2.9.0 fails on installation and startup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants