本文介紹了'pyuic5' 未被識別為內部或外部命令的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!
問題描述
我正在嘗試將 QTDesigner 創建的 ui 文件轉換為 py 文件.但我得到了錯誤:pyuic5 未被識別為內部或外部命令.我使用 anaconda 3,并在這里嘗試了所有建議:
I am trying to convert ui file created by QTDesigner to py file. but i get the error: pyuic5 is not recognized as an internal or external command. I use anaconda 3, and tried all suggestions here:
C:/Program 無法識別...與 pyuic5 相關.
我在這里看到過:
'Pyuic4' 未被識別為內部外部命令.
推薦答案
對于任何人有這個問題:關鍵是anaconda3中的pyuic5.bat在:
for any one has this problem: the key is that in anaconda3 pyuic5.bat is in:
Anaconda3Libraryin
Anaconda3Libraryin
設計師也在這里.
所以在 cmd 中你必須先 cd 到:
so in cmd you must first cd to:
AnacondaLibraryin
然后:
pyuic5.bat -x filename.ui -o filename.py
這篇關于'pyuic5' 未被識別為內部或外部命令的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!
【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!