直接pip3安装:pip3 install psycopg2-binary
报错
参考教程centos python3 安装psycopg2 模块:https://it.cha138.com/android/show-38317.html
先安装 postgresql-devel
yum install python3-devel postgresql-devel
然后,再安装psycopg2-binary就可以成功
在CentOS系统中,使用pip3安装psycopg2-binary模块时遇到问题,可以按照教程先执行yuminstallpython3-develpostgresql-devel,确保必要的开发库已安装,然后再尝试安装psycopg2-binary,这样通常可以成功。
直接pip3安装:pip3 install psycopg2-binary
报错
参考教程centos python3 安装psycopg2 模块:https://it.cha138.com/android/show-38317.html
先安装 postgresql-devel
yum install python3-devel postgresql-devel
然后,再安装psycopg2-binary就可以成功
1043
962

被折叠的 条评论
为什么被折叠?