pythonpython-2.7dllgfortranpy2exe

Where can I get obscure DLL so py2exe will compile?


I am running py2exe to convert a rather large (~20k lines) python file into an executable. It's an older program and is written in python 2.7, 32 bit, so it does not translate well to a minimum working example. On running py2exe I encounter the following error:

error: [Errno 2] No such file or directory: 
'libopenblas.UWVN3XTD2LSS7SFIFK6TIQ5GONFDBJKU.gfortran-win32.dll'

Having this dll in the Python27/DLLs folder will solve this issue, but after scouring the depths of google I have been unable to make any progress. My question: where can one download this dll, or a library which would contain this dll?


Solution

  • Problem solved. If you're running 32 bit python and numpy, you should be able to find this specific DLL at:

    C:\Python27\Lib\site-packages\numpy\.libs
    

    Copy and paste this into:

    C:\Python27\DLLs
    

    And run py2exe as normal.