Details
-
Bug
-
Resolution: Out of scope
-
P4: Low
-
None
-
None
-
None
Description
When installing pyside2-tools in Ubuntu 16.04 using the pyside2-tools package by Thomas Pietrowski and pyside2uic Python module gets installed for Python 3... even thought it is completely unusable that way.
This causes the pyside2-uic executable to complain about not finding the pyside2uic module:
Traceback (most recent call last): File "/usr/bin/pyside2-uic", line 28, in <module> from pyside2uic.driver import Driver ImportError: No module named pyside2uic.driver
This was reported here before, but is still not fixed:
https://bugreports.qt.io/browse/PYSIDE-356
Here is a docker file to reproduce the error:
FROM ubuntu:16.04
RUN apt-get update \
&& apt-get install --yes \
software-properties-common \
&& add-apt-repository -y ppa:thopiekar/pyside-git \
&& apt-get update \
&& apt-get install --yes \
pyside2-tools \
&& rm -rf /var/lib/apt/lists/*
#RUN cp -r /usr/lib/python3/dist-packages/pyside2uic /usr/local/lib/python2.7/dist-packages
RUN pyside2-uic --help
Adding the commented out line makes it work.