Open bcharlier opened 11 months ago
This issue happened on macOS 13.4.1 using intel python.
The problem seems to come from torch (and pykeops importing torch if it's available) rather than pykeops. Uninstalling torch fixes the issue but this only works if torch is not used elsewhere (which was true for me).
This condition is documented in threadpoolctl
.
A good way to prevent such an issue is to use conda packages rather than python wheels.
For full background, see pypackaging-native
, more especially in the Native Dependencies section.
On macOS numba and pykeops (or even torch !) conflict due a static link problem:
gives the error