DoctorReid / ZenlessZoneZero-OneDragon

绝区零 一条龙 | 全自动 | 自动闪避 | 自动每日 | 自动空洞 | 支持手柄
https://one-dragon.org/zzz/zh/home.html
GNU General Public License v3.0
1.44k stars 48 forks source link

[问题反馈] [通用] #45

Closed johnson50313 closed 3 months ago

johnson50313 commented 3 months ago

问题描述

无法安装依赖

游戏截图

No response

运行日志

[23:01:05.290] [cmd_utils.py 48] [INFO]: Using cached https://pypi.tuna.tsinghua.edu.cn/packages/83/60/d497a310bde3f01cb805196ac61b7ad6dc5dcf8dce66634dc34364b20b4f/lazy_loader-0.4-py3-none-any.whl (12 kB) [23:01:05.632] [cmd_utils.py 48] [INFO]: Collecting lmdb==1.5.1 (from -r D:\Users\LICI\Downloads\ZenlessZoneZero-OneDragon-0.0.2\ZenlessZoneZero-OneDragon\requirements-prod.txt (line 33)) [23:01:05.957] [cmd_utils.py 48] [INFO]: Using cached https://pypi.tuna.tsinghua.edu.cn/packages/73/ae/33cc51aa29dda5c99dbf900ff8fe8fb6a0f46d6db9f60f1d896273b9c991/lmdb-1.5.1-cp311-cp311-win_amd64.whl (100 kB) [23:01:06.416] [cmd_utils.py 48] [INFO]: Collecting lxml==5.2.2 (from -r D:\Users\LICI\Downloads\ZenlessZoneZero-OneDragon-0.0.2\ZenlessZoneZero-OneDragon\requirements-prod.txt (line 34)) [23:01:06.739] [cmd_utils.py 48] [INFO]: Using cached https://pypi.tuna.tsinghua.edu.cn/packages/04/19/d6aa2d980f220a04c91d4de538d2fea1a65535e7b0a4aec0998ce46e3667/lxml-5.2.2-cp311-cp311-win_amd64.whl (3.8 MB) [23:01:07.152] [cmd_utils.py 48] [INFO]: Collecting matplotlib==3.9.1 (from -r D:\Users\LICI\Downloads\ZenlessZoneZero-OneDragon-0.0.2\ZenlessZoneZero-OneDragon\requirements-prod.txt (line 35)) [23:01:07.476] [cmd_utils.py 48] [INFO]: Using cached https://pypi.tuna.tsinghua.edu.cn/packages/22/06/9e8ba6ec8b716a215404a5d1938b61f5a28001be493cf35344dda9a4072a/matplotlib-3.9.1.tar.gz (36.1 MB) [23:01:10.117] [cmd_utils.py 48] [INFO]: Installing build dependencies: started [23:01:19.985] [cmd_utils.py 48] [INFO]: Installing build dependencies: finished with status 'done' [23:01:19.988] [cmd_utils.py 48] [INFO]: Getting requirements to build wheel: started [23:01:20.109] [cmd_utils.py 48] [INFO]: Getting requirements to build wheel: finished with status 'done' [23:01:20.114] [cmd_utils.py 48] [INFO]: Installing backend dependencies: started [23:01:21.852] [cmd_utils.py 48] [INFO]: Installing backend dependencies: finished with status 'done' [23:01:21.854] [cmd_utils.py 48] [INFO]: Preparing metadata (pyproject.toml): started [23:01:22.747] [cmd_utils.py 48] [INFO]: Preparing metadata (pyproject.toml): finished with status 'error' [23:01:23.297] [cmd_utils.py 56] [ERROR]: error: subprocess-exited-with-error [23:01:23.300] [cmd_utils.py 56] [ERROR]: Preparing metadata (pyproject.toml) did not run successfully. [23:01:23.301] [cmd_utils.py 56] [ERROR]: exit code: 1 [23:01:23.303] [cmd_utils.py 56] [ERROR]: [22 lines of output] [23:01:23.303] [cmd_utils.py 56] [ERROR]: + meson setup C:\Users\LICI\AppData\Local\Temp\pip-install-z0g9018c\matplotlib_3fda8cd52b9c46db85f79c01b4bb1574 C:\Users\LICI\AppData\Local\Temp\pip-install-z0g9018c\matplotlib_3fda8cd52b9c46db85f79c01b4bb1574.mesonpy-xx6yhya6 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\LICI\AppData\Local\Temp\pip-install-z0g9018c\matplotlib_3fda8cd52b9c46db85f79c01b4bb1574.mesonpy-xx6yhya6\meson-python-native-file.ini [23:01:23.305] [cmd_utils.py 56] [ERROR]: The Meson build system [23:01:23.307] [cmd_utils.py 56] [ERROR]: Version: 1.5.1 [23:01:23.309] [cmd_utils.py 56] [ERROR]: Source dir: C:\Users\LICI\AppData\Local\Temp\pip-install-z0g9018c\matplotlib_3fda8cd52b9c46db85f79c01b4bb1574 [23:01:23.309] [cmd_utils.py 56] [ERROR]: Build dir: C:\Users\LICI\AppData\Local\Temp\pip-install-z0g9018c\matplotlib_3fda8cd52b9c46db85f79c01b4bb1574.mesonpy-xx6yhya6 [23:01:23.310] [cmd_utils.py 56] [ERROR]: Build type: native build [23:01:23.311] [cmd_utils.py 56] [ERROR]: Program python3 found: YES [23:01:23.312] [cmd_utils.py 56] [ERROR]: Project name: matplotlib [23:01:23.314] [cmd_utils.py 56] [ERROR]: Project version: 3.9.1 [23:01:23.317] [cmd_utils.py 56] [ERROR]: WARNING: Failed to activate VS environment: Could not find C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe [23:01:23.317] [cmd_utils.py 56] [ERROR]: ..\meson.build:1:0: ERROR: Unknown compiler(s): [['icl'], ['cl'], ['cc'], ['gcc'], ['clang'], ['clang-cl'], ['pgcc']] [23:01:23.318] [cmd_utils.py 56] [ERROR]: The following exception(s) were encountered: [23:01:23.319] [cmd_utils.py 56] [ERROR]: Running icl "" gave "[WinError 2] tΧ䤣wɮסC [23:01:23.320] [cmd_utils.py 56] [ERROR]: Running cl /? gave "[WinError 2] tΧ䤣wɮסC [23:01:23.320] [cmd_utils.py 56] [ERROR]: Running cc --version gave "[WinError 2] tΧ䤣wɮסC [23:01:23.321] [cmd_utils.py 56] [ERROR]: Running gcc --version gave "[WinError 2] tΧ䤣wɮסC [23:01:23.321] [cmd_utils.py 56] [ERROR]: Running clang --version gave "[WinError 2] tΧ䤣wɮסC [23:01:23.329] [cmd_utils.py 56] [ERROR]: Running clang-cl /? gave "[WinError 2] tΧ䤣wɮסC [23:01:23.332] [cmd_utils.py 56] [ERROR]: Running pgcc --version gave "[WinError 2] tΧ䤣wɮסC [23:01:23.333] [cmd_utils.py 56] [ERROR]: A full log can be found at C:\Users\LICI\AppData\Local\Temp\pip-install-z0g9018c\matplotlib_3fda8cd52b9c46db85f79c01b4bb1574.mesonpy-xx6yhya6\meson-logs\meson-log.txt [23:01:23.334] [cmd_utils.py 56] [ERROR]: [end of output] [23:01:23.337] [cmd_utils.py 56] [ERROR]: note: This error originates from a subprocess, and is likely not a problem with pip. [23:01:23.341] [cmd_utils.py 56] [ERROR]: error: metadata-generation-failed [23:01:23.343] [cmd_utils.py 56] [ERROR]: Encountered error while generating package metadata. [23:01:23.345] [cmd_utils.py 56] [ERROR]: See above for output. [23:01:23.350] [cmd_utils.py 56] [ERROR]: note: This is an issue with the package mentioned above, not pip. [23:01:23.354] [cmd_utils.py 56] [ERROR]: hint: See above for details. [23:01:23.355] [cmd_utils.py 56] [ERROR]: [notice] A new release of pip is available: 24.1.2 -> 24.2 [23:01:23.358] [cmd_utils.py 56] [ERROR]: [notice] To update, run: D:\Users\LICI\Downloads\ZenlessZoneZero-OneDragon-0.0.2\ZenlessZoneZero-OneDragon.env\venv\scripts\python.exe -m pip install --upgrade pip

你的建议

No response

eiheihi commented 3 months ago

requirements-prod.txt 第35行 改成matplotlib==3.9.0

ESCAPEE-Lv commented 3 months ago

requirements-prod.txt 第35行 改成matplotlib==3.9.0

我也遇到这个问题,谢谢大佬,修改之后安装成功了