-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Location of sip files may be different based on distro/python version #80
Comments
I don't know to what there packages equate on Ubuntu. The two Ubuntu packages python-pyqt5 and python3-pyqt5 seem to use the same (beside Python version) locations for the files. The file Maybe you can provide more details what exact file your are looking for and which Ubuntu package provides them in what location. |
The sip bindings location depends on the sip version used to compile pyqt. As distributions start moving to sip 5, they will start using the latter location. |
I think this issue is that it can't find the root directory for any sip bindings. I don't have my build output up any longer, but don't recall a specific file it failed to find. To my memory, my output looked like this replicator's output (hence starting the debug there):
I was looking for other distro locations for these files as well, thinking perhaps it was a python3.8 change. I found the same package on Ubuntu (and no I think I've framed this question accurately: is I posted here, as perhaps someone might understand why the Edit: @antonio-rojas posted while I was writing this which might get at:
@antonio-rojas could you post a link to this information? arch is currently on 4.19.20. |
I don't think this is documented anywhere other than the source code. Arch ships both sip 4 and sip 5. All python 3 bindings are built with sip 5. |
One of my packages uses sip to build, and upstream adapted to sip5 with the following commit: kovidgoyal/calibre@5ef79c7 |
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 thepython2
variant of the package was a successful workaround. We've been updating everything topython3
, so I looked into what was going on, as we don't really want to keep a package onpython2
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 text was updated successfully, but these errors were encountered: