Created
August 20, 2016 20:00
-
-
Save sundayguru/dbdf06c439bdd5a561ebb49993dd6e77 to your computer and use it in GitHub Desktop.
Python requirements issues on windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. psycopg2 | |
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DPSYCOPG_DEFAULT_PYDATETIME=1 "-DPSYCOPG_VERSION=\"2.6.1 (dt dec pq3 ext lo64)\"" -DPG_VERSION_HEX=0x090501 -DHAVE_LO64=1 "-Ic:\program files\python 3.5\include" "-Ic:\program files\python 3.5\include" -I. -IC:/PROGRA~1/POSTGR~1/9.5/include -IC:/PROGRA~1/POSTGR~1/9.5/include/server "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\ATLMFC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcpsycopg\psycopgmodule.c /Fobuild\temp.win-amd64-3.5\Release\psycopg\psycopgmodule.obj | |
psycopgmodule.c | |
.\psycopg/config.h(134): warning C4005: 'isnan': macro redefinition | |
C:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt\math.h(264): note: see previous definition of 'isnan' | |
.\psycopg/config.h(138): warning C4005: 'isinf': macro redefinition | |
C:\Program Files (x86)\Windows Kits\10\include\10.0.10150.0\ucrt\math.h(263): note: see previous definition of 'isinf' | |
.\psycopg/config.h(150): error C2491: 'round': definition of dllimport function not allowed | |
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2 | |
Solutions: | |
Download windows executable package for windows http://www.stickpeople.com/projects/python/win-psycopg/ | |
Run installation | |
2. Window compatibility issues with gnureadline | |
Solution: | |
Install pyreadline instead of gnureadline | |
pip install pyreadline |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment