Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install pywencai报错:meson.build:2:0: ERROR: Value "c11" (of type "string") for combo option "C language standard to use" is not one of the choices. #49

Open
yalongwan opened this issue May 6, 2024 · 0 comments

Comments

@yalongwan
Copy link

python>pip --trusted-host pypi.org install pywencai
Collecting pywencai
Obtaining dependency information for pywencai from https://files.pythonhosted.org/packages/77/4b/28d33a6edb8d98402789cbf418063a302a96d04d563163aef07ef5f97f22/pywencai-0.12.2-py3-none-any.whl.metadata
Using cached pywencai-0.12.2-py3-none-any.whl.metadata (4.7 kB)
Collecting PyExecJS<2.0.0,>=1.5.1 (from pywencai)
Using cached PyExecJS-1.5.1.tar.gz (13 kB)
Preparing metadata (setup.py) ... done
Collecting fake-useragent<2.0.0,>=1.1.1 (from pywencai)
Obtaining dependency information for fake-useragent<2.0.0,>=1.1.1 from https://files.pythonhosted.org/packages/e4/99/60d8cf1b26938c2e0a57e232f7f15641dfcd6f8deda454d73e4145910ff6/fake_useragent-1.5.1-py3-none-any.whl.metadata
Using cached fake_useragent-1.5.1-py3-none-any.whl.metadata (15 kB)
Collecting pandas<3.0.0,>=1.5.0 (from pywencai)
Using cached pandas-2.2.2.tar.gz (4.4 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: 1
╰─> [13 lines of output]
+ meson setup C:\Users\huawei\AppData\Local\Temp\pip-install-r2875kob\pandas_fb70a8cea06e471e94befdc61303e766 C:\Users\huawei\AppData\Local\Temp\pip-install-r2875kob\pandas_fb70a8cea06e471e94befdc61303e766.mesonpy-1ucg6z77\build -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --vsenv --native-file=C:\Users\huawei\AppData\Local\Temp\pip-install-r2875kob\pandas_fb70a8cea06e471e94befdc61303e766.mesonpy-1ucg6z77\build\meson-python-native-file.ini
The Meson build system
Version: 1.2.1
Source dir: C:\Users\huawei\AppData\Local\Temp\pip-install-r2875kob\pandas_fb70a8cea06e471e94befdc61303e766
Build dir: C:\Users\huawei\AppData\Local\Temp\pip-install-r2875kob\pandas_fb70a8cea06e471e94befdc61303e766.mesonpy-1ucg6z77\build
Build type: native build
Project name: pandas
Project version: 2.2.2
Activating VS 15.9.58

  ..\..\meson.build:2:0: ERROR: Value "c11" (of type "string") for combo option "C language standard to use" is not one of the choices. Possible choices are (as string): "none", "c89", "c99", "gnu89", "gnu90", "gnu9x", "gnu99".

  A full log can be found at C:\Users\huawei\AppData\Local\Temp\pip-install-r2875kob\pandas_fb70a8cea06e471e94befdc61303e766\.mesonpy-1ucg6z77\build\meson-logs\meson-log.txt
  [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.

[notice] A new release of pip is available: 23.2.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip

python>node -v
v16.16.0

python>python
Python 3.11.4 (tags/v3.11.4:d2340ef, Jun 7 2023, 05:30:09) [MSC v.1934 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

@yalongwan yalongwan changed the title meson.build:2:0: ERROR: Value "c11" (of type "string") for combo option "C language standard to use" is not one of the choices. pip install pywencai报错:meson.build:2:0: ERROR: Value "c11" (of type "string") for combo option "C language standard to use" is not one of the choices. May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant