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.
我正在尝试在终端中使用 pyuic5 命令将 QT 设计器 .ui 文件转换为 .py 文件。这是命令:
pyuic5 cone.ui -o cone.py
我得到的错误是:
/usr/local/bin/pyuic5: line 2: exec: python3.6: not found
这是pyuic5文件的内容:
#!/bin/sh exec python3.6 -m PyQt5.uic.pyuic ${1+"$@"}
还有其他人收到此错误吗?