Skip to content
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

setup.py not recognizing PyQt5 #195

Open
faizu396 opened this issue Mar 29, 2022 · 4 comments
Open

setup.py not recognizing PyQt5 #195

faizu396 opened this issue Mar 29, 2022 · 4 comments

Comments

@faizu396
Copy link

faizu396 commented Mar 29, 2022

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
Copy link
Author

faizu396 commented Mar 29, 2022

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
Copy link

Unounited commented Apr 3, 2022

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
Copy link
Author

Ok, thanks

@faizu396
Copy link
Author

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

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

No branches or pull requests

2 participants