Missing __nb_signature__
when running nanobind stubgen
#638
-
Hi, We are using the nanobind stubgen tool from the Python module Are there any obvious dependencies missing that can cause this error, or anything along these lines? For most of our machines it works fine and this error is not present. This setup:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
That's pretty weird. Is it possible that you are mixing extensions compiled with different versions of nanobind? The |
Beta Was this translation helpful? Give feedback.
-
The issue stemmed from having mixed versions like you suggested. There was an old 1.9.2 installation left on the system, and after removing it everything worked as expected. Thank you for the help. |
Beta Was this translation helpful? Give feedback.
That's pretty weird. Is it possible that you are mixing extensions compiled with different versions of nanobind? The
__nb_signature__
attribute exists in v2.0+. Please check carefully if there are maybe stale.so
files lying around. If not, please provide a reproducer for this issue.