Hello, I’ve carefully followed all the instructions provided in this NVIDIA forum thread to install PyQt5 on my Jetson Orin Nano.
The code which I used to test the installation is
import sys
from PyQt5.QtWidgets import QApplication, QLabel
app = QApplication(sys.argv)
label = QLabel("Hello, PyQt5!")
label.show()
sys.exit(app.exec_())
Despite completing every step as directed, I still encounter the error:
(l1) esl@ubuntu:~/Desktop/Project_L1$ python test.py
Traceback (most recent call last):
File "/home/esl/Desktop/Project_L1/test.py", line 2, in <module>
from PyQt5.QtWidgets import QApplication, QLabel
ModuleNotFoundError: No module named 'PyQt5.sip'
It seems that even though SIP (version 4.19.25) is installed in my virtual environment, PyQt5 cannot locate the SIP bindings under its expected namespace. I tried the suggested workaround of creating a symlink, but that did not resolve the issue. Any insights or further suggestions on how to get the SIP module recognized by PyQt5 would be greatly appreciated.