pip安装psycopg2报错

在使用命令(pip install psycopg2)安装psycopg2时,会报错:

ERROR: Could not find a version that satisfies the requirement psycopg2 (from versions: 2.0.10, 2.0.11, 2.0.12, 2.0.13, 2.0.14, 2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.3.2, 2.4, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.5, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.6, 2.6.1, 2.6.2, 2.7, 2.7.1, 2.7.2, 2.7.3, 2.7.3.1, 2.7.3.2, 2.7.4, 2.7.5, 2.7.6, 2.7.6.1, 2.7.7, 2.8, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.9, 2.9.1, 2.9.2, 2.9.3, 2.9.4, 2.9.5)
ERROR: No matching distribution found for psycopg2
WARNING: You are using pip version 21.3.1; however, version 22.3.1 is available.
You should consider upgrading via the '/Users/edy/Desktop/ApiCode1/venv/bin/python -m pip install --upgrade pip' command.

如图显示:

解决方案:

使用 pip install psycopg2-binary
命令安装psycopg2即可;

最新文章

  1. Android近场通信---高级NFC(二)
  2. Hadoop Resource
  3. viewPage
  4. C#winform导出数据到Excel的类
  5. aspose.cell 自定义模板 SUM无效
  6. 转:asmx迷10分钟升级成wcf熟手指南
  7. MATLAB学习(3)
  8. .net与linux
  9. 如何保存ISE综合后的RTL schematic为pdf
  10. 基于WebForm+EasyUI的业务管理系统形成之旅 -- 数据统计(Ⅳ)
  11. Android 使用HorizontalScrollView 实现Gallery效果
  12. updating the chroot
  13. JAVA课程设计个人博客 学生成绩管理 201521123023 戴建钊
  14. hive: join 遇到问题
  15. 在Spring Boot中使用Spring Security实现权限控制
  16. MySQL——合并查询结果
  17. java.lang.ClassNotFoundException: org.apache.log4j.Logger 异常
  18. 提取http接口响应报文中需要的值,获得的是string,使用dict转换为字典处理
  19. BUG关闭原因
  20. 【洛谷P4144】大河的序列

热门文章

  1. (12)go-micro微服务JWT跨域认证
  2. 读Java8函数式编程笔记02_流
  3. Arm-Linux子系统的互相Notify
  4. Maven配置 阿里云镜像地址
  5. Vue02 Node下载安装
  6. Zstack使用经验系列1-安装的网络配置
  7. vue3 setup语法糖下,vue自定义指令的实现,以及指令全局挂载,自定义v-loading的实现
  8. TCP/IP协议(9): UDP(User Datagram Protocol) 协议 —— 最简单的传输层协议
  9. JZOJ 7339.改试卷
  10. 提取show config命令结果