Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-35756

Support the PySide2 in Developer Image

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: ts_main_telescope
    • Labels:

      Description

      Please help to support the pyside2, qasync, and qt5-qtbase-devel in the developer docker image: lsstts/develop-env:develop. This is to support to run the M2 Python EUI under the QT framework (pyside2). The qasync is the repository to allow the QT application to use the asyncio in Python. These two modules can be installed by conda. The module of qt5-qtbase-devel is needed to run the QT in CentOS 7 (install by yum).

      I tried to demonstrate the above dependencies in the developer docker image. I entered the image by:

      docker run -it --rm -u root lsstts/develop-env:develop
      

      If I tried to use yum to install the qt5-qtbase-devel, I would get the following errors:

      [root@5c4ba225f2e2 ~]# yum install qt5-qtbase-devel
      There was a problem importing one of the Python modules
      required to run yum. The error leading to this problem was:
       
         /opt/lsst/software/stack/conda/miniconda3-py38_4.9.2/envs/lsst-scipipe-4.0.1/lib/liblzma.so.5: version `XZ_5.1.2alpha' not found (required by /lib64/librpmio.so.3)
       
      Please install a package which provides this module, or
      verify that the module is installed correctly.
       
      It's possible that the above module doesn't match the
      current version of Python, which is:
      2.7.5 (default, Aug  7 2019, 00:51:29) 
      [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
       
      If you cannot solve this problem yourself, please go to 
      the yum faq at:
        http://yum.baseurl.org/wiki/Faq
      

      Please help to test and support the pyside2 in the docket image. You could use the QT example to check this can work in the docker image or not.

      Thanks!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              wvreeven Wouter van Reeven
              Reporter:
              ttsai Te-Wei Tsai
              Reviewers:
              Tiago Ribeiro
              Watchers:
              Petr Kubanek, Te-Wei Tsai, Tiago Ribeiro, Wouter van Reeven
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.