Skip to content Skip to sidebar Skip to footer

Scipy.signal Crashes Application Made With Cx_freeze

I'm trying to use butter and lfilter from scipy.signal in a compiled program. After some debugging I found that when the program reached this line: b, a = butter(order, normal_cuto

Solution 1:

So the solution as it turns out is due to DLL files. I was having an issue with a different program while trying to plot and show graphs in a cx freeze application and eventually found that I needed to copy more DLL files, which is also the solution here.

anaconda_bin = r'C:\ProgramData\Anaconda3\Library\bin'

for file in os.listdir(anaconda_bin):
    if 'mkl_' in file:

        shutil.copy2("%s\%s" % (anaconda_bin, file),r'C:\Users\matthew\PycharmProjects\untitled5\build\exe.win32-3.6\%s' % file)

Post a Comment for "Scipy.signal Crashes Application Made With Cx_freeze"