Installing pyglfw on OS X

后端 未结 2 895
眼角桃花
眼角桃花 2021-01-21 03:07

I want to install glow for python so i runned

    pip3 install glfw

but when i\'m trying to import glfw in code i get error like this



        
相关标签:
2条回答
  • 2021-01-21 03:39

    You need to install glfw3 on your system. If you use brew brew install glfw3

    0 讨论(0)
  • 2021-01-21 03:49

    I had the same problem on Ubuntu 18.04. Installation of libglfw3 and libglfw3-dev solved it.

    apt-get install libglfw3
    apt-get install libglfw3-dev
    

    I tried to install glfw3 from source first and then install it with brew(as @PanchaGil mentioned above) but it didn't work out for some reason.

    0 讨论(0)
提交回复
热议问题