In most of cases, if you want to install a new Python module in your computer, you must follow these easy steps:
1. download the module zip file
2. open Terminal in Mac OS X or Prompt-DOS in Windows and go to the right directory
3. write this first line of code: python setup.py build (then press Enter key)
When you launch this command, Python start to create “ecosystem” for this new module
4. finally install the module with this line of code: python setup.py install (and press Enter key).
In this case Python copies all files in the Python Framework directory and install module libraries.
To install a module in Python you must install a C compiler in your computer like GCC (you install it with XCode for Mac), if you don’t have this compiler, you can’t install any modules on your machine.