Where can I get obscure DLL so py2exe will compile?

允我心安 提交于 2019-12-08 05:31:54

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/48728067/where-can-i-get-obscure-dll-so-py2exe-will-compile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!