Category Archives: Mac OS X

Things pertaining to Mac OS X

pip is broken with AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’

This error is quite frustrating, and it has been occurring to me when I try to move old django sites to a new server. It is frustrating because once this happens, your pip is broken and you can’t do anything … Continue reading

Posted in Linux, Mac OS X, python, SSL | Comments Off on pip is broken with AttributeError: ‘module’ object has no attribute ‘SSL_ST_INIT’

OSError: [Errno 1] Operation not permitted: Extras/lib/python/six-1.4.1-py2.7.egg-info’

After upgrading some things using homebrew, this error started coming up on a coworker’s machine when he tried to pip install virtualenvwrapper. This error was coming up right before the operation not permitted: Installing collected packages: six Found existing installation: … Continue reading

Posted in Mac OS X, python | Comments Off on OSError: [Errno 1] Operation not permitted: Extras/lib/python/six-1.4.1-py2.7.egg-info’

How to install mysqldb for python on Mac OSX

Install XCode and the command line tools Install homebrew brew install mysql-connector-c pip install mysql-python

Posted in Mac OS X, python | Comments Off on How to install mysqldb for python on Mac OSX

Yosemite maximize button is broken!

Still not fixed in El Capitan 🙁 But you can get the correct functionality by holding option + shift while clicking the green button that used to do the right thing. It is too bad that got more complicated.

Posted in Mac OS X | Comments Off on Yosemite maximize button is broken!

Unable to load psycopg2 on Mac OSX El Capitan

I upgraded to El Capitan today and of course had to reinstall homebrew and all my python and development tools. I went to try to run a django app on my machine and kept getting this error: django.core.exceptions.ImproperlyConfigured: Error loading … Continue reading

Posted in Mac OS X, postgres, python | Comments Off on Unable to load psycopg2 on Mac OSX El Capitan