-
Notifications
You must be signed in to change notification settings - Fork 53
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
Installation Issue on macOS with Apple Silicon #22
Comments
Thanks for reporting this. If anyone else is experiencing a similar issue in the future, but these instructions don't help, feel free to re-open the issue. |
|
v1.12.0 now supports PyQt6, which makes it easier to install on MacOS. To use PyQt6, install as follows:
Then configure the viewer to use PyQt6, e.g. from code:
For other ways to configure this (i.e. via configuration file), check the docs here. |
Here's a full install with conda:
|
When trying to install aitviewer on a machine running macOS with AppleSilicon (M1 Pro), the PyQT5 dependency causes issues by seemingly being stuck in an infinite loop during installation, see Pip Install stuck on "Preparing Wheel metadata..." when trying to install PyQT5.
I have documented steps on how I was able to get around this issue and create a virtual environment with aitviewer installed in it:
First, install Python 3.8 and PyQT5 using Homebrew:
and ensure they necessary paths are discoverable:
Then, create an environment with system site packages (for PyQT5):
Activate the environment with:
Install the
pyqt5
manually by first upgrading pip:Then install
pyqt5
with:Install aitviewer:
The text was updated successfully, but these errors were encountered: