# Install pyGlfw on Mac OS X El Capitan

**URL:** https://discourse.glfw.org/t/install-pyglfw-on-mac-os-x-el-capitan/640
**Category:** support
**Created:** [April 20, 2016, 8:58am UTC](https://discourse.glfw.org/t/install-pyglfw-on-mac-os-x-el-capitan/640 "2016-04-20T08:58:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![giovadema](https://avatars.discourse-cdn.com/v4/letter/g/7feea3/32.png) [@giovadema](https://discourse.glfw.org/u/giovadema)
#### Post date: [April 20, 2016, 8:58am UTC](https://discourse.glfw.org/t/install-pyglfw-on-mac-os-x-el-capitan/640/1 "2016-04-20T08:58:04Z")

</div>

Sorry I’m a beginner in MAC and glfw.

I just install pyGlfw using:

$ pip install pyglfw

Just doing import glfw, I obtain the error

Traceback (most recent call last):  
File “\<pyshell#14\>”, line 1, in   
import glfw  
File “/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/glfw.py”, line 149, in   
raise ImportError(“Failed to load GLFW3 shared library.”)  
ImportError: Failed to load GLFW3 shared library.

Thank you for your help,  
Giovanni

---

<div class="post-metadata">

### Author: ![dougbinks](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.glfw.org/dougbinks/32/39_2.png) [@dougbinks](https://discourse.glfw.org/u/dougbinks)
#### Post date: [April 20, 2016, 9:36am UTC](https://discourse.glfw.org/t/install-pyglfw-on-mac-os-x-el-capitan/640/2 "2016-04-20T09:36:08Z")

</div>

Hi Giovanni,

This forum is for support of the GLFW API itself, which is in C. The pyglfw bindings themselves are maintained by someone else, however I can’t find a support forum for them.

According to the [pyglfw documentation on pypi](https://pypi.python.org/pypi/pyglfw/0.1.0) you need to install the GLFW shared library binary, see the section under Installation. There’s a slightly more up to date version of [pyglfw on the bitbucket project home](https://bitbucket.org/pyglfw/pyglfw) so you might want to try that.

Hope this helps.
