在Windows上安装psycopg2时出错

时间:2020-10-11 11:38:13

标签: python c++ windows

当我想在带有python 3.9的Windows上通过pip install安装psycopg2时出现以下错误

ERROR: Command errored out with exit status 1:
command: 'C:\Users\mohammadmilad\Envs\test\Scripts\python.exe' -u -c    'import sys, setuptools, 

1 个答案:

答案 0 :(得分:0)

第一步下载psycopg2版本 第二步 pip install pipwin 然后pipwin install psycopg2并结束