Hi I am having a strange issue getting PyQt5 working in a containerized environment on the Jetson Orin.
Outside of the container I am easily able to run “sudo apt install python3-pyqt5” and import the library in python. A simple gui can easily be created.
However inside of the container, if I install PyQt5 (same command), the installation completes, but python does not recognize the library.
Another approach I tried was to uninstall pyqt5 by running “apt remove python3-pyqt5” then install using pip (“pip install PyQt5”). Originally, I was getting a wheel error when running this command, but this was solved (I think?) by running “apt install qt5-default”. Now when I run “pip install PyQt5” it continues to get locked up during the “Preparing wheel metadata” portion of installation. I have waited as long as 30 minutes with no progress past this point.
Does anybody know why I am able to use PyQt5 with no issues outside of a container environment, and not inside the container? And possibly some solutions to getting this to work inside the container? Thank you so much in advance.