mupen64plus / mupen64plus-ui-python

A frontend for Mupen64Plus
http://m64py.sourceforge.net/
GNU General Public License v3.0
247 stars 67 forks source link

setup.py not recognizing PyQt5 #195

Closed faizu396 closed 6 days ago

faizu396 commented 2 years ago

I'm trying to install on Raspberry Pi OS (64 bit). I installed PyQt5 using sudo apt-get install python3-pyqt5. This is what I get when running python setup.py build: running build running build_qt Traceback (most recent call last): File "/home/pi/Downloads/m64py/setup.py", line 382, in <module> setuptools.setup( File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.9/distutils/core.py", line 148, in setup dist.run_commands() File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/pi/Downloads/m64py/setup.py", line 372, in run self.run_command("build_qt") File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/pi/Downloads/m64py/setup.py", line 83, in run self.compile_ts(os.path.join(dirpath, filename)) File "/home/pi/Downloads/m64py/setup.py", line 63, in compile_ts import PyQt5 ModuleNotFoundError: No module named 'PyQt5' Is there any way to get the setup script to use the version of PyQt5 I installed?

faizu396 commented 2 years ago

I don't even know if you can install m64py on Raspberry Pi OS since the raspberry pi uses ARM and not x86 or x64, but oh well

Unounited commented 2 years ago

I don't even know if you can install m64py on Raspberry Pi OS since the raspberry pi uses ARM and not x86 or x64, but oh well

FALSE! you actually can do this on a Pi 4, however It only works on Rasbian buster, because bullseye had errors that were not compiling mupen64plus, just follow my guide here: https://forums.raspberrypi.com/viewtopic.php?t=313193

faizu396 commented 2 years ago

Ok, thanks

faizu396 commented 2 years ago

Now that I think about it, it probably doesn't matter if it's ARM or x86 or x64 because it all just uses python