Pyinstaller没有找到钩子

时间:2017-03-23 18:06:30

标签: python hook pyinstaller

我使用的是最新版本的pyinstaller,当我运行它时,我收到以下错误消息:

9007 INFO: Loading module hook "hook-cryptography.py"...
kg_resources.DistributionNotFound: 
The 'cryptography' distribution was not found and is required by the application

我已经检查过,加密分发肯定是可用的,但由于某些原因,pyinstaller没有找到它。有没有办法编辑spec文件以使其工作?

有趣的是,当我搜索hook-cryptography时,我找到了一个位于pyinstaller / hooks文件夹中的.py文件。

0 个答案:

没有答案