Details
Description
The pyside2uic Python module is installed when pip installing the PySide2 wheel built from pyside-setup. It's just that the Compiler module isn't included.
Here I'm trying to execute the pyside2-uic executable in Ubuntu 14.04:
$ pyside2-uic Traceback (most recent call last): File "/usr/local/bin/pyside2-uic", line 7, in <module> from PySide2.scripts.uic import main File "/usr/local/lib/python2.7/dist-packages/PySide2/scripts/uic.py", line 28, in <module> from pyside2uic.driver import Driver File "/usr/local/lib/python2.7/dist-packages/pyside2uic/__init__.py", line 27, in <module> from pyside2uic.Compiler import indenter, compiler ImportError: No module named Compiler
I'm also seeing this on OS X. Here's how you can repro this in Ubuntu 14.04:
$ apt-get install wget python-pip python-dev software-properties-common
$ add-apt-repository ppa:beineri/opt-qt561-trusty
$ apt-get update
$ apt-get install qt56-meta-full
$ . /opt/qt56/bin/qt56-env.sh
$ wget https://bintray.com/fredrikaverpil/pyside2-wheels/download_file?file_path=ubuntu14.04%2FPySide2-2.0.0.dev0-cp27-none-linux_x86_64.whl -O PySide2-2.0.0.dev0-cp27-none-linux_x86_64.whl
$ pip install PySide2-2.0.0.dev0-cp27-none-linux_x86_64.whl
$ pyside2-uic
The wheel comes from my wheel building Github repo (Travis CI builds the wheels): https://github.com/fredrikaverpil/pyside2-wheels/
You can review the complete build log in Travis CI.
The bintray holding the wheels: https://bintray.com/fredrikaverpil/pyside2-wheels/pyside2/2.0.0.dev0#files
Attachments
For Gerrit Dashboard: PYSIDE-357 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
216803,4 | setup.py: Fix bundling of pyside2uic.Compiler | 5.6 | pyside/pyside-setup | Status: MERGED | +2 | 0 |
218006,1 | setup.py: Fix bundling of pyside2uic.Compiler | 5.9 | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |