postgresql - Python psycopg2-2.5.1 installation on Windows 8 -
postgresql - Python psycopg2-2.5.1 installation on Windows 8 -
i installing python psycopg2 , compilation fails: os: windows 8 64 bit python: 2.7 mingw-w64
c:/mingw-w64/x86_64-4.9.0-win32-seh-rt_v3-rev2/mingw64/bin/../lib/gcc/x86_64-w64 -mingw32/4.9.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lpython27 collect2.exe: error: ld returned 1 exit status error: command 'c:\\mingw-w64\\x86_64-4.9.0-win32-seh-rt_v3-rev2\\mingw64\\bin\\ gcc.exe' failed exit status 1
cannot find -lpython27
python27.lib
not on library_path
. it's hard why or provide more info because didn't explain how got point - commands run, python version installed, etc.
in case, recommend just utilize binary installers. see these existing answers:
install psycopg2 on windows 8.1 how easy_install psycopg2 on windows 7? how install psycopg2 "pip" on python? installing psycopg2 on windows xp using pip , virtualenv can't install psycopg2 python postgresql mingw32
Comments
Post a Comment