简体   繁体   English

exe 文件中缺少 pyqt5 模块

[英]Missing pyqt5 module in the exe file

I am working with pyqt5 with python.我正在使用 pyqt5 和 python。 I finished programming the code then I wanted to convert my tool into exe file.我完成了代码的编程,然后我想将我的工具转换为exe文件。 When I run this exe file it showed no:当我运行这个exe文件时,它显示没有:

ModuleNotFoundError: No module named 'PyQt5' ModuleNotFoundError:没有名为“PyQt5”的模块

As shown in the picture below:如下图所示:

from_main.exe from_main.exe

Can you guide me, please?你能指导我吗?

Make sure that the converter works in the python version that you installed the libraries in, and that you work in.确保转换器在您安装库的 python 版本中工作,并且您在其中工作。

After that convert the application into exe as one file.之后将应用程序转换为 exe 作为一个文件。

After that make sure that your application is in place it does not need any permissions to do anything in your system.之后确保您的应用程序就位,它不需要任何权限即可在您的系统中执行任何操作。

After that see what will happen.之后看看会发生什么。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM