鱼C论坛

 找回密码
 立即注册
查看: 3048|回复: 5

[已解决]pyopenxl安装错误

[复制链接]
发表于 2023-4-23 17:38:38 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能^_^

您需要 登录 才可以下载或查看,没有账号?立即注册

x
  1. D:\programs>pip install pyopenxl
  2. Looking in indexes: https://mirrors.aliyun.com/pypi/simple
  3. ERROR: Could not find a version that satisfies the requirement pyopenxl (from versions: none)
  4. ERROR: No matching distribution found for pyopenxl

  5. D:\programs>pip install openxl
  6. Looking in indexes: https://mirrors.aliyun.com/pypi/simple
  7. ERROR: Could not find a version that satisfies the requirement openxl (from versions: none)
  8. ERROR: No matching distribution found for openxl
复制代码

所以是 pip install what?
最佳答案
2023-4-23 17:39:33
是 openpyxl
小甲鱼最新课程 -> https://ilovefishc.com
回复

使用道具 举报

发表于 2023-4-23 17:39:33 | 显示全部楼层    本楼为最佳答案   
是 openpyxl
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-4-23 17:41:50 | 显示全部楼层

还以为是刚升级的py3.10.10的问题
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-4-23 17:43:44 | 显示全部楼层
  1. Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] on win32
  2. Type "help", "copyright", "credits" or "license" for more information.
  3. >>> import math
  4. >>> _ = math.dist  # py37没有
  5. >>> def func(a:tuple[int,int]):
  6. ...  return a[0]+a[1]
  7. ...
  8. >>> # py37要报错
  9. >>>
复制代码
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

发表于 2023-4-23 17:46:04 | 显示全部楼层

?_ = math.dist 的意义是什么?
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-4-23 17:50:08 | 显示全部楼层
isdkz 发表于 2023-4-23 17:46
?_ = math.dist 的意义是什么?

证明math.dist不会报错,py37会
_的意思是不希望输出
https://imgse.com/i/p9erc38
小甲鱼最新课程 -> https://ilovefishc.com
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备18085999号-1 | 粤公网安备 44051102000585号)

GMT+8, 2025-6-29 00:05

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表