When using cx_Freeze and tkinter I get: “DLL load failed: The specified module could not be found.” (Python 3.5.3)

后端 未结 3 1626
梦如初夏
梦如初夏 2020-12-01 13:15

When using cx_Freeze and Tkinter, I am given the message:

File \"C:\\Users\\VergilTheHuragok\\AppData\\Local\\Programs\\Python\\Python35-32\\lib\\tkinter\\__         


        
3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-01 13:52

    After fixing these issues cx_freeze was still unable to import the dependencies of pandas (namely numpy). To fix this I literally copied and pasted the entire folders into the directory of the .py file I was trying to compile. The executable needs to be in the same directory (so it isn't necessarily stand-alone) but it runs with pandas and numpy.

提交回复
热议问题