Got widnows error 1120 while trying to install psycopg2/psycopg2-binary

妖精的绣舞 提交于 2020-01-16 01:18:08

问题


error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\link.exe' failed with exit status 1120

I have installed postgresql and added to the global variables path to pg_config. Windows 8, python 3.8


回答1:


Make sure you have python 3.8 64bit installed for 64bit machine and python 3.8 32bit for 32bit machine.

Uninstalling old 32bit python and installing 3.8 64 bit for my 64 bit os worked for me to resolve the same issue.



来源:https://stackoverflow.com/questions/58638460/got-widnows-error-1120-while-trying-to-install-psycopg2-psycopg2-binary

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!