fujiisoup / py3nj

Wigner's 3J, 6J, 9J symbols for python
https://py3nj.readthedocs.io/
Apache License 2.0
18 stars 5 forks source link

Solved the problem with DLL load on Windows with Python >=3.8. #21

Closed makszachary closed 1 year ago

makszachary commented 1 year ago

DLLs are only loaded from trusted locations on Windows with Python 3.8 and higher (as described here), which resulted in an ImportError: DLL load failed while importing _wigner in the previous version of __init__.py.

Adding .lib to the DLL directories solves the problem with loading the DLL files.

fujiisoup commented 1 year ago

Thank you @makszachary! This looks good to me.

Closes #20