Unhandled exception in script
……
ImportError: Error importing numpy: you should not try to import numpy fromits source directory; please exit the numpy source tree, and relaunchyour python interpreter from there.
用pyinstaller打包的exe程序执行时出现上述报错,百度半天,查到的各种说法玄乎其玄,最后忘了哪里看到一句更新一下pyinstaller试试(pip install --upgrade pyinstaller)。
好了,问题就这么解决了。