-
Notifications
You must be signed in to change notification settings - Fork 120
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
Error installing p5 package: Failed building wheel for PyOpenGL-accelerate #439
Comments
Thank you for submitting your first issue to p5py |
|
I am trying |
@imhimansu28 Use version 3.8. Consider using it with pyenv.
If you're using ZSH try |
I had the same kind of error recently, it seems to be a mac specific issue and the fix is to have |
Any news on this? Is it still Python 3.8 that is the latest supported version? |
The tests are running fine till 3.11 - https://github.com/p5py/p5/blob/master/.github/workflows/build-tests.yml#L16, Can you try again ? |
I tried it today on my M3 mac with similar error as above. |
What is the python version ? Can you share the setup steps as well, did you create a virtual environment as well ? |
Hi
I used a virtual environment, Python 3.11.2. Tried to install using pip3.
Anders
… 16 apr. 2024 kl. 06:41 skrev Tushar ***@***.***>:
What is the python version ? Can you share the setup steps as well, did you create a virtual environment as well ?
—
Reply to this email directly, view it on GitHub <#439 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHVH4DNZGEZZ65OI5NDKXPDY5STX7AVCNFSM6AAAAAA2KHAPNSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJYGIYTMMJWGY>.
You are receiving this because you commented.
|
Hi,
|
Ah, one more detail, I used the requirements.txt from the repo to control the installation with pip inside a fresh environment. Codeclub.org is now using the p5 package for their new Python courses, so it would be really good if the package could also run on an Apple Silicon machine. I am happy to give feedback to help in the process. |
Hey @mikefromd I will try to take a look on my Mac - but it might take some time as I am quite busy with other stuff. I tested this with m2 sometime back, but you can try commenting out the pyopengl_accelarate dependency. |
Curious if any further guidance on this thread. I'm on an M1, Sonoma 14.5, Python 3.12.2, trying to get PyOpenGL as a dependency for running a USD pipeline. Same "ERROR: Failed building wheel for PyOpenGL_accelerate" |
@wrsmith108 you can skip installing PyOpenGL_accelerate as I believe that library was added to help in better 3D rendering. For the failing build, did you tried checking out open issues in PyOpenGL_accelerate project? |
TY @tushar5526 - I was building on my own machine and will redo a greenfield deployment for a USD pipeline for 3D rendering where this is a dependency. Ticket can be closed. Cheers. |
I tried on M1 today. I tested 3.8, 3.9, 3.10 and 3.11 and all failed.
|
I have the same problem using Mac M3 Any alternatives on how to fix this without using opengl-accelerate? |
I managed to install p5 in an M3 without opengl-accelerate but I am not sure which are the limitations yet.
With this steps I can run some of the demo examples. If opengl-accelerate is a requirement I guess that at some point some things are going to break. Don't know what exactly. |
Hi! I just wanted to follow up here. Were there any updates to help install opengl-accelerate for Mac? |
Has anybody found the solution to this problem? I am facing the same issue. I am using Python version 3.12.3 |
Linux. |
Describe the bug
I encountered an error while trying to install the p5 package in Python. The installation process fails when building the wheel for the PyOpenGL-accelerate dependency. The error message and output are as follows:
To Reproduce
Run pip install p5 to install the p5 package.
Screenshots
System information:
Python version: 3.11
Operating System: macOS (version 13.4.1, Apple Silicon M1)
Additional context
I have numpy installed separately in my Python environment.
I am using a virtual environment.
I would appreciate any assistance in resolving this issue. Thank you!
The text was updated successfully, but these errors were encountered: