Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在过去的几个小时里,我一直试图弄清楚 PyInstaller,但我一直收到这个错误。如果有人能指出我如何解决这个问题的正确方向,我将不胜感激。我正在使用 PyInstaller 2.0
您能否尝试将其添加到您的 python 代码中:
import sys sys.path.append('.')