当我尝试在虚拟环境中使用PIP安装psycopg2时,在Windows 8上出现以下错误:
c:\python27\include\pyconfig.h(231) : fatal error C1083: Cannot open include file: 'basetsd.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\VC\\BIN\\amd64\\cl.exe' failed with exit status 2
我以前遇到过这个错误:
error: Unable to find vcvarsall.bat
所以我在这个问题中遵循了各种答案:
并设法摆脱
error: Unable to find vcvarsall.bat
但有这个新的与
抗争任何想法?
感谢