Skip to content
This repository has been archived by the owner on Feb 11, 2022. It is now read-only.

python3.9: sip Unable to find file "QtCore/QtCoremod.sip" - possible workaround #5

Closed
lprobsth opened this issue Jan 23, 2021 · 1 comment
Assignees

Comments

@lprobsth
Copy link

lprobsth commented Jan 23, 2021

There are currently multiple issues in multiple repos open for this:
ros-noetic-arch/ros-noetic-python-qt-binding#2
ros-melodic-arch/ros-melodic-rviz#9
ros-visualization/python_qt_binding#80
(yesterday I also found another one which I don't seem to find rn)

There is a patch file in both noetic and melodic arch repos which are as far as I now related to this issue - but installation still fails for me. All these issues mainly address python3.8 and I use python3.9. So maybe that's the reason why.

I wanted you to know that this workaround worked for me:

https://wiki.archlinux.org/index.php/ROS#Building_from_source

#mkdir -p /usr/share/sip
#this directory was already existing
sudo ln -s /usr/lib/python3.9/site-packages/PyQt5 /usr/share/sip/.
sudo ln -s /usr/lib/python3.9/site-packages/PyQt5/bindings/* /usr/share/sip/PyQt5/.
@bionade24 bionade24 self-assigned this Jan 23, 2021
@bionade24
Copy link
Member

bionade24 commented Jan 23, 2021

Since this builds fine in our CI and is patched, I'll close this issue soon if you can't provide more information on why the matched maybe didn't work for you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants