Diving-Fish / mai-bot

Based on nonebot, a common bot framework for maimai.
MIT License
301 stars 90 forks source link

为什么pip install过程中出现大量包找不到对应版本 #44

Open whjsdm opened 1 year ago

whjsdm commented 1 year ago

为什么pip install过程中出现大量包找不到对应版本,比如 ERROR: Could not find a version that satisfies the requirement click==8.1.3 (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.5.1, 0.6, 0.7, 1.0, 1.1, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 5.0, 5.1, 6.0, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.7.dev0, 6.7, 7.0, 7.1, 7.1.1, 7.1.2, 8.0.0a1, 8.0.0rc1, 8.0.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4) ERROR: No matching distribution found for click==8.1.3

以及 ERROR: Could not find a version that satisfies the requirement frozenlist==1.3.1 (from versions: 1.0.0a0, 1.0.0, 1.1.0, 1.1.1, 1.2.0a8, 1.2.0) ERROR: No matching distribution found for frozenlist==1.3.1之类的

whjsdm commented 1 year ago

我是否需要改动requirements.txt中的数据

whjsdm commented 1 year ago

有些包甚至pip找不到任何版本

sahuidhsu commented 1 year ago

同样的问题,我CentOS Python3

Agnes4m commented 1 year ago

检查python版本,要3.8+,我用的最新版本3.11没问题

jiangyin14 commented 1 year ago

建议3.8-3.9 其他版本兼容性烂 我3.8.8