Closed frssp closed 1 year ago
That's quite weird. Which OS are you using, and which version of Python? Also, are you using a custom pybind11, or the default one? (if you don't know, you can also share the full cmake configure/build log here)
It is because of Python11. Seems like It has something to do with C API. I can build librascal
with python3.9, and it works perfectly so far.
https://docs.python.org/3.11/whatsnew/3.11.html
The PyFrameObject structure members have been removed from the public C API.
While the documentation notes that the PyFrameObject fields are subject to change at any time, they have been stable for a long time and were used in several popular extensions.
In Python 3.11, the frame struct was reorganized to allow performance optimizations. Some fields were removed entirely, as they were details of the old implementation.
I excuted
mkdir build && cd build && cmake .. && make
on my ubuntu 20.04. I successfully compiledlibrascal
(at least the log said 100%), but failed to copy bindings. Inbindings/
directory, there is no_rascal.*
but_rascalNone
.