pyranges / pyrle

Numerical Run Length Encoding and Arithmetic in Cython
https://biocore-ntnu.github.io/pyranges/an-introduction-to-rles.html
MIT License
16 stars 3 forks source link

Fail to install on Python 3.11 #6

Open y9c opened 1 year ago

y9c commented 1 year ago

I got this error during the installation. It seems that this error is relative to Cython update.

Building wheels for collected packages: pyrle
  Building wheel for pyrle (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for pyrle (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [5 lines of output]
      pyrle/src/getitem.c:265:12: fatal error: longintrepr.h: No such file or directory
         #include "longintrepr.h"
                  ^~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyrle
Failed to build pyrle
ERROR: Could not build wheels for pyrle, which is required to install pyproject.toml-based projects

https://github.com/cython/cython/pull/4428