pack a software in Python using py2exe with 'libiomp5md.dll' not found

前端 未结 4 1327
抹茶落季
抹茶落季 2021-02-05 12:07

I have Python 2.7 on Window 7 OS. I wish to pack my project.py in an Executable using py2exe. Following the instruction i wrote a setup.py file

from distutils.co         


        
4条回答
  •  旧时难觅i
    2021-02-05 13:06

    I had the same problem. I had to install numpy on a machine, did it with mingw gcc compiler. I confirmed: copy of dll found in C:\Python27\Lib\site-packages\numpy\core\

    I just copied it to the working directory before launching setup.

    Nothing special to tune in setup.py, dependencies are automatically found.

提交回复
热议问题