到第5步安装pip install -r requirements.txt报错
不知道是什么问题
(venv) C:\Users\123\MahjongCopilot>pip install -r requirements.txt
Looking in links: https://github.com/shinkuan/Akagi/releases/expanded_assets/v0.1.1-libriichi
Collecting playwright==1.42.0 (from -r requirements.txt (line 2))
Using cached playwright-1.42.0-py3-none-win_amd64.whl.metadata (3.5 kB) Collecting torch==2.2.1 (from -r requirements.txt (line 3)) Using cached torch-2.2.1-cp38-cp38-win_amd64.whl.metadata (26 kB) Collecting requests (from -r requirements.txt (line 4)) Using cached requests-2.32.3-py3-none-any.whl.metadata (4.6 kB) Collecting numpy (from -r requirements.txt (line 5)) Using cached numpy-1.24.4-cp38-cp38-win_amd64.whl.metadata (5.6 kB) Collecting pillow (from -r requirements.txt (line 6)) Using cached pillow-10.4.0-cp38-cp38-win_amd64.whl.metadata (9.3 kB) ERROR: Ignored the following versions that require a different python version: 1.25.0 Requires-Python >=3.9; 1.25.1 Requires-Python >=3.9; 1.25.2 Requires-Python >=3.9; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9; 1.26.2 Requires-Python >=3.9; 1.26.3 Requires-Python >=3.9; 1.26.4 Requires-Python >=3.9; 11.0.0 Requires-Python >=3.9; 2.0.0 Requires-Python >=3.9; 2.0.1 Requires-Python >=3.9; 2.0.2 Requires-Python >=3.9; 2.1.0 Requires-Python >=3.10; 2.1.0rc1 Requires-Python >=3.10; 2.1.1 Requires-Python >=3.10; 2.1.2 Requires-Python >=3.10; 2.1.3 Requires-Python >=3.10 ERROR: Could not find a version that satisfies the requirement riichi>=0.1.1 (from versions: none) ERROR: No matching distribution found for riichi>=0.1.1
Python 换成3.11试试
一样,安装依赖出错,给的代码不对,库冲突了,自己要去查要查很久的
python 3.11 有些库没写版本号:) 可能需要降级一下