py3nj
py3nj copied to clipboard
Installation failure on Windows
It looks like installation on windows fails. It says 'successfully installed', but while importing py3nj,
ImportError: DLL load failed while importing _wigner: The specified module could not be found.
Related to #25
Looks like this article is related https://www.jamesbowley.co.uk/nbs/ImportError_dll_load_failed_while_importing_cv2.html
Through an investigation with ProcessMonitor, it seems like
- libgomp-1.dll
- libgfortran-5.dll
are missing.
It seems like my specific problem... My libgomp and libgfortran is in 'C:\Users[username]\AppData\Local\quickstart_fortran\mingw64\bin' and it is in PATH, but python is not able to search this path.
If I add location by os.add_dll_directory(extra_dll_dir), it successfully imported.