歌者文明清理员 发表于 2023-4-23 17:38:38

pyopenxl安装错误

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?

isdkz 发表于 2023-4-23 17:39:33

是 openpyxl {:10_256:}

歌者文明清理员 发表于 2023-4-23 17:41:50

isdkz 发表于 2023-4-23 17:39
是 openpyxl

{:10_250:}还以为是刚升级的py3.10.10的问题

歌者文明清理员 发表于 2023-4-23 17:43:44

isdkz 发表于 2023-4-23 17:39
是 openpyxl

Python 3.10.10 (tags/v3.10.10:aad5f6a, Feb7 2023, 17:20:36) on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import math
>>> _ = math.dist# py37没有
>>> def func(a:tuple):
...return a+a
...
>>> # py37要报错
>>>

isdkz 发表于 2023-4-23 17:46:04

歌者文明清理员 发表于 2023-4-23 17:43


?_ = math.dist 的意义是什么?

歌者文明清理员 发表于 2023-4-23 17:50:08

isdkz 发表于 2023-4-23 17:46
?_ = math.dist 的意义是什么?

证明math.dist不会报错,py37会
_的意思是不希望输出
https://imgse.com/i/p9erc38
页: [1]
查看完整版本: pyopenxl安装错误