Where is pyside-uic?

I am trying to use Qt Designer and pyside-uic mydesign.ui> design.py

however, this program does not exist. I looked at the site packages under python 2.7 and I see: PySide-lupdate.exe PySide-rcc.exe

and many other programs, but there is no such thing as pyside-uic.exe ... why? Why is it missing in the installation package? Where can i get it?

+7
source share
5 answers

You should see / Python 27 / Scripts / pyside-uic.exe. But I wonder why this is not visible (not feasible). Perhaps this is a packaging problem (permissions, etc.). You can try to call it using the full path.

+7
source

If you installed PySide with homebrew, you need to install the pyside-tools package also to get these command line tools:

 $ brew install pyside-tools 
+9
source

For Mac, it worked for me, executing the following command (for installing macros):

 sudo port install py27-pyside-tools 

It installs on my Python 2.7 environment. Hope this helps.

+2
source

When I installed using conda, py-uic.exe was not unpacked. The problem was fixed by uninstalling and using pip.

 >pip install pyside 
+2
source

In case someone needs this, for Ubuntu 18.04 I need to install the pyside-tools package first. Hope this helps.

 sudo apt-get install pyside-tools 
0
source

Source: https://habr.com/ru/post/892707/


All Articles