当我尝试运行pyinstaller(anaconda环境中的最新开发版本pythonv3.6)创建的exe时,出现以下错误:
File "site-packages\timezonefinder\timezonefinder.py", line 27, in <module>
FileNotFoundError: [Errno 2] No such file or directory:
'C:\\Users\\simon.rhee\\Desktop\\EPE
2.0\\dist\\main\\timezonefinder\\timezone_names.json'
[8984] Failed to execute script main
谢谢你的帮助,请让我知道,如果我可以提供更多的信息,这将使帮助我更容易或更有用的那些可能有相同的问题。你知道吗
看起来pyinstaller的conda forge版本有一个bug,更新到开发版本将有助于解决其他问题,手动将timezonefinder文件夹从虚拟环境复制到dist文件夹将解决这个问题。你知道吗
相关问题 更多 >
编程相关推荐