Open ivankeller opened 3 years ago
Thank you for submitting your first issue to p5py
I think pip install glfw
may help, but I'm not too sure.
Same issue as above, Python 3.8.7, MacOS 11.5.
Relevant output from pip freeze
:
glfw==2.1.0
numpy==1.21.2
p5==0.7.1
vispy==0.8.0
I have tried both brew install glfw
and brew install glfw3
, and neither have resolved the error.
Package info from Homebrew:
❯ brew info glfw3
glfw: stable 3.3.4 (bottled), HEAD
Multi-platform library for OpenGL applications
https://www.glfw.org/
/usr/local/Cellar/glfw/3.3.4 (14 files, 520.9KB) *
Poured from bottle on 2021-08-22 at 17:55:47
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/glfw.rb
Maybe you can try searching in vispy forums or installation docs. Behind the hood, p5 uses vispy.
This solved it for me. Adding link for context: https://github.com/vispy/vispy/issues/2213
Describe the bug I followed the instruction for installing p5 on MacOS. I used brew to install glfw. When importing p5 I got this error:
It seems vispy could not find glfw.
System information:
I also tried this suggestion https://github.com/p5py/p5/issues/76#issuecomment-773964526 but it did not solve the issue