cx_Freeze 5.0: ImportError: No module named 'scipy.__config__'

故事扮演 提交于 2019-12-04 13:02:37

I think I have a solution (not the greatest but it works). Go to the scipy\spatial directory (within the build directory) and change the file from cKDTree.cp36-win_amd64.pyd to ckdtree.cp36-win_amd64.pyd.

NOTE: your file name might be slightly different depending which python version but the main thing is to use lowercase kdt in the file name.

The capital letters is the problem. It worked for me.

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