Skip to content

Location of sip files may be different based on distro/python version #80

@jwhendy

Description

@jwhendy

Greetings,

Would you be able to take a look at this comment on this issue? We ran into a snag on arch linux with the code in sip_configure.py.

Compiling ros-melodic-rviz failed when trying to find the sip PyQt5 bindings, and installing the python2 variant of the package was a successful workaround. We've been updating everything to python3, so I looked into what was going on, as we don't really want to keep a package on python2 as a solution.

It looks like the file location for sip files changes. If you go to each of these, scroll down, and click "view the file list", you'll see the difference:

  • python2-pyqt5: usr/share/sip/PyQt5/
  • python-pyqt5: usr/lib/python3.8/site-packages/PyQt5/bindings

In searching for the latter directory via google, I only get hits for arch linux. I'm not familiar with pyqt5 or sip; do you know where I could check the canonical install directory? I'm thinking either:

  • the directory is changing in the future and it might be good for this package to accommodate, or
  • something is awry with arch's package and we should change our install dir accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions