AirtestProject / AirtestProject/Airtest
error: metadata-generation-failed
- 主要言語
- Python
- スター
- 9.6k
- フォーク
- 1.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
```bash
python --version
Python 3.13.0
```
```log
(.venv) PS xxx.air> pip install -U airtest
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting airtest
Using cached https://mirrors.aliyun.com/pypi/packages/b2/52/62391b32309ce0cbf5e2d2ba5751a6a4a4cf8aec470f3d94ec76f2d85099/airtest-1.3.5.tar.gz (49.5 MB)
Preparing metadata (setup.py) ... done
Collecting Jinja2>=2.8 (from airtest)
Using cached https://mirrors.aliyun.com/pypi/packages/31/80/3a54838c3fb461f6fec263ebf3a3a41771bd05190238de3486aae8540c36/jinja2-3.1.4-py3-none-any.whl (133 kB)
Collecting Pillow>=3.4.0 (from airtest)
Using cached https://mirrors.aliyun.com/pypi/packages/fb/01/3755ba287dac715e6afdb333cb1f6d69740a7475220b4637b5ce3d78cec2/pillow-11.0.0-cp313-cp313-win_amd64.whl (2.6 MB)
Collecting requests>=2.11.1 (from airtest)
Using cached https://mirrors.aliyun.com/pypi/packages/f9/9b/335f9764261e915ed497fcdeb11df5dfd6f7bf257d4a6a2a686d80da4d54/requests-2.32.3-py3-none-any.whl (64 kB)
Collecting six<=1.16.0,>=1.9.0 (from airtest)
Using cached https://mirrors.aliyun.com/pypi/packages/d9/5a/e7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11/six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting mss==6.1.0 (from airtest)
Using cached https://mirrors.aliyun.com/pypi/packages/d7/5f/77dece686b8d08a17430e169e936722693712b8cf1ee638caa8b1cb6452b/mss-6.1.0-py3-none-any.whl (76 kB)
Collecting numpy<2.0 (from airtest)
Using cached https://mirrors.aliyun.com/pypi/packages/65/6e/09db70a523a96d25e115e71cc56a6f9031e7b8cd166c1ac8438307c14058/numpy-1.26.4.tar.gz (15.8 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 2
╰─> [35 lines of output]
+ xxx.air\.venv\Scripts\python.exe C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\vendored-meson\meson\meson.py setup C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3 C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\.mesonpy-c7quwdt1 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\.mesonpy-c7quwdt1\meson-python-native-file.ini
Traceback (most recent call last):
File "C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\vendored-meson\meson\mesonbuild\mesonmain.py", line 194, in run
return options.run_func(options)
~~~~~~~~~~~~~~~~^^^^^^^^^
File "C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\vendored-meson\meson\mesonbuild\msetup.py", line 358, in run
app.generate()
~~~~~~~~~~~~^^
File "C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\vendored-meson\meson\mesonbuild\msetup.py", line 178, in generate
env = environment.Environment(self.source_dir, self.build_dir, self.options)
File "C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\vendored-meson\meson\mesonbuild\environment.py", line 571, in __init__
config = coredata.parse_machine_files(self.coredata.config_files)
File "C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\vendored-meson\meson\mesonbuild\coredata.py", line 1032, in parse_machine_files
parser = MachineFileParser(filenames)
File "C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\vendored-meson\meson\mesonbuild\coredata.py", line 973, in __init__
self.parser.read(filenames)
~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "C:\Users\admin\AppData\Local\Temp\pip-install-zvzk__iw\numpy_dc9f6a4dc9314a7eb557e738b3d5f2d3\vendored-meson\meson\mesonbuild\coredata.py", line 960, in read
return super().read(filenames, encoding)
~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\configparser.py", line 735, in read
self._read(fp, filename)
~~~~~~~~~~^^^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\configparser.py", line 1050, in _read
ParsingError._raise_all(self._read_inner(fp, fpname))
~~~~~~~~~~~~~~~~^^^^^^^^^^^^
File "C:\Program Files\Python313\Lib\configparser.py", line 1058, in _read_inner
for st.lineno, line in enumerate(map(Line, fp), start=1):
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 325, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc9 in position 46: invalid continuation byte
ERROR: Unhandled python exception
This is a Meson bug and should be reported!
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
(.venv) PS xxx.air>
```
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
評価
この issue はまだ評価されていません。