尝试安装psycopg2/psycopg2-binary时出现Widnows错误1120 [英] Got widnows error 1120 while trying to install psycopg2/psycopg2-binary

查看:82
本文介绍了尝试安装psycopg2/psycopg2-binary时出现Widnows错误1120的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

我已经安装了postgresql并将其添加到pg_config的全局变量路径中.Windows 8,Python 3.8

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

推荐答案

确保为64位计算机安装了python 3.8 64bit,为32位计算机安装了python 3.8 32bit.

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

卸载旧的32位python并为我的64位操作系统安装3.8 64位对我来说可以解决相同的问题.

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

这篇关于尝试安装psycopg2/psycopg2-binary时出现Widnows错误1120的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆