鱼C论坛

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

[已解决]pyopenxl安装错误

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

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

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

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

D:\programs>pip install openxl
Looking in indexes: https://mirrors.aliyun.com/pypi/simple
ERROR: Could not find a version that satisfies the requirement openxl (from versions: none)
ERROR: No matching distribution found for openxl
所以是 pip install what?
最佳答案
2023-4-23 17:39:33
是 openpyxl
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复

使用道具 举报

发表于 2023-4-23 17:39:33 | 显示全部楼层    本楼为最佳答案   
是 openpyxl
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

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

还以为是刚升级的py3.10.10的问题
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

 楼主| 发表于 2023-4-23 17:43:44 | 显示全部楼层
Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:20:36) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>> _ = math.dist  # py37没有
>>> def func(a:tuple[int,int]):
...  return a[0]+a[1]
...
>>> # py37要报错
>>>
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

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

?_ = math.dist 的意义是什么?
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

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

证明math.dist不会报错,py37会
_的意思是不希望输出
https://imgse.com/i/p9erc38
想知道小甲鱼最近在做啥?请访问 -> ilovefishc.com
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-23 13:29

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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