pip安装psycopg2报错Could not find a version that satisfies the requirement psycopg2
2024-10-09 16:16:48
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即可; |
最新文章
- Android近场通信---高级NFC(二)
- Hadoop Resource
- viewPage
- C#winform导出数据到Excel的类
- aspose.cell 自定义模板 SUM无效
- 转:asmx迷10分钟升级成wcf熟手指南
- MATLAB学习(3)
- .net与linux
- 如何保存ISE综合后的RTL schematic为pdf
- 基于WebForm+EasyUI的业务管理系统形成之旅 -- 数据统计(Ⅳ)
- Android 使用HorizontalScrollView 实现Gallery效果
- updating the chroot
- JAVA课程设计个人博客 学生成绩管理 201521123023 戴建钊
- hive: join 遇到问题
- 在Spring Boot中使用Spring Security实现权限控制
- MySQL——合并查询结果
- java.lang.ClassNotFoundException: org.apache.log4j.Logger 异常
- 提取http接口响应报文中需要的值,获得的是string,使用dict转换为字典处理
- BUG关闭原因
- 【洛谷P4144】大河的序列
热门文章
- (12)go-micro微服务JWT跨域认证
- 读Java8函数式编程笔记02_流
- Arm-Linux子系统的互相Notify
- Maven配置 阿里云镜像地址
- Vue02 Node下载安装
- Zstack使用经验系列1-安装的网络配置
- vue3 setup语法糖下,vue自定义指令的实现,以及指令全局挂载,自定义v-loading的实现
- TCP/IP协议(9): UDP(User Datagram Protocol) 协议 —— 最简单的传输层协议
- JZOJ 7339.改试卷
- 提取show config命令结果