Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

`matplotlib` fails to install under Windows on GraalPy 25.0.0

Đang mở
#544 3 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@msimacek đang làm issue này rồi.

Từ ngày 19/9/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

> pip install matplotlib
C:\Users\Aly\.pyenv\pyenv-win\versions\graalpy-25.0.0-windows-amd64\Lib\ssl.py:527: UserWarning: unable to enumerate Windows certificate store
  warnings.warn("unable to enumerate Windows certificate store")
WARNING: Disabling truststore because platform isn't supported
Looking in indexes: https://pypi.org/simple, https://www.graalvm.org/python/wheels/
Collecting matplotlib
  Downloading matplotlib-3.10.6.tar.gz (34.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 34.8/34.8 MB 13.3 MB/s eta 0:00:00
  Looking for GraalPy patches for matplotlib
  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
  ╰─> [17 lines of output]
      + meson setup C:\Users\Aly\AppData\Local\Temp\pip-install-7p4n0793\matplotlib_37da3d368e7447a48e643f1eb3f1aa70 C:\Users\Aly\AppData\Local\Temp\pip-install-7p4n0793\matplotlib_37da3d368e7447a48e643f1eb3f1aa70\.mesonpy-bn__bqvo -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\Aly\AppData\Local\Temp\pip-install-7p4n0793\matplotlib_37da3d368e7447a48e643f1eb3f1aa70\.mesonpy-bn__bqvo\meson-python-native-file.ini
      Traceback (most recent call last):
        File "C:\Users\Aly\AppData\Local\Temp\pip-build-env-069mgoq7\overlay\Lib\site-packages\mesonbuild\mesonmain.py", line 193, in run
          return options.run_func(options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Aly\AppData\Local\Temp\pip-build-env-069mgoq7\overlay\Lib\site-packages\mesonbuild\msetup.py", line 394, in run
          app.generate()
        File "C:\Users\Aly\AppData\Local\Temp\pip-build-env-069mgoq7\overlay\Lib\site-packages\mesonbuild\msetup.py", line 190, in generate
          with mesonlib.DirectoryLock(self.build_dir, 'meson-private/meson.lock',
        File "C:\Users\Aly\AppData\Local\Temp\pip-build-env-069mgoq7\overlay\Lib\site-packages\mesonbuild\utils\win32.py", line 22, in __enter__
          mode = msvcrt.LK_LOCK
                 ^^^^^^^^^^^^^^
      AttributeError: module 'msvcrt' has no attribute 'LK_LOCK'

      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.

Notably, the MSVCRT builtins file of GraalPy has a comment saying that it's only there to make Meson work.

Ngôn ngữ chính
Python
Star
1.7k
Fork
155
Merge trung bình
5 giờ 7 phút
Pull request đã merge (30 ngày)
45

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oracle/graalpython

Tất cả issue của oracle/graalpython

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.