Installing libsass (django_libsass) on Mac OS Yosemite

I started playing with wagtail recently (">a very promisiing Django CMS) and they use django_libsass to compile their sass into css. Unfortunatelly, if you'll try to install django libsass via PIP on Mac you'll get a compile error message. I tried lots of approaches to fix this and it didn't work in the end. So the solution was to use Python Wheels (a precompiled python packages). All you need is:

1) Install wheels via PIP:

  1. pip install wheels

2) Go to and find a wheel for Mac OS 10.10

3) Download the wheel we want to install:

  1. wget

4) Install libsass wheel:

  1. wheel install libsass-0.7.0-cp27-none-macosx_10_10_intel.whl --force

I added --force parameter, because wheel told me the package is not compatible with my OS (probably bug, because all works fine in the end)

5) Install django_libsass package via PIP:

  1. pip install django_libsass

And now all should be working just fine!