在eric6中编译表单,但是show“无法启动pyuic5,确保它在搜索路径中”。

时间:2021-09-13 23:03:39

I will compile form designed by qt designer in eric6, but show "Could not start pyuic5, Ensure that it is in the search path." But actually the PATH of pyuic5.exe has been in the system PATH, and also the pyuic5.exe can be run by typing pyuic5 in the cmd of window7 . The envirement is python3.5+qt5.7+pyqt5.7+eric6. Why I could not compile form in eric6? How can fix the error?

我将编译qt designer在eric6中设计的表单,但是show“无法启动pyuic5,确保在搜索路径中。”但实际上是pyuic5的路径。exe在系统路径中,也在pyuic5中。exe可以通过在window7的cmd中输入pyuic5来运行。环境”是python3.5 + qt5.7 + pyqt5.7 + eric6。为什么我不能在eric6中编译表单?如何修正错误?

1 个解决方案

#1


0  

Had the exact same issue. Looks like Eric wants pyuic5.bat (somewhere in the path) I created such a batch file with the following contents, and it worked

也有同样的问题。看起来Eric想要pyuic5。bat(在路径中的某个地方)我创建了一个包含以下内容的批处理文件,它工作了

@"pyuic5.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9

@“pyuic5。exe: %1 %2 %3 %4 %5 %6 %7 %8 %9

PS: In my setup these files are both located in a folder:

PS:在我的设置中,这些文件都位于一个文件夹中:

C:\Python35-32\Scripts

C:\ Python35-32 \脚本

#1


0  

Had the exact same issue. Looks like Eric wants pyuic5.bat (somewhere in the path) I created such a batch file with the following contents, and it worked

也有同样的问题。看起来Eric想要pyuic5。bat(在路径中的某个地方)我创建了一个包含以下内容的批处理文件,它工作了

@"pyuic5.exe" %1 %2 %3 %4 %5 %6 %7 %8 %9

@“pyuic5。exe: %1 %2 %3 %4 %5 %6 %7 %8 %9

PS: In my setup these files are both located in a folder:

PS:在我的设置中,这些文件都位于一个文件夹中:

C:\Python35-32\Scripts

C:\ Python35-32 \脚本