Python: Unable to Render Tex in Matplotlib

On an Ubunutu 14.04 machine the combination of answers from above worked. I sudo apt-get install the dvipng,texlive-latex-extra, and texlive-fonts-recommended packages and that did the trick: $ sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended Edit: As of Matplotlib 3.2.1, you now also need the package cm-super (see https://github.com/matplotlib/matplotlib/issues/16911) $ sudo apt-get install dvipng texlive-latex-extra texlive-fonts-recommended cm-super

Rails, MySQL and Snow Leopard

I just went through the same pain… here’s what worked for me: Download / install the 64-bit MySQL 5.1.37 from mysql.com run the following commands: sudo gem update –system sudo env ARCHFLAGS=”-arch x86_64″ gem install mysql — –with-mysql-config=/usr/local/mysql/bin/mysql_config I also uninstalled all mysql gems that were floating around from my 10.5 days, that may do … Read more

Is it possible to get the iOS 5.1 SDK for Xcode 4.2 on Snow Leopard?

To get Xcode 4.2 on Snow Leopard to run code on a device running iOS 5.1 you can do this: If you have another Mac running Lion and Xcode 4.3.1 you can copy the files from: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/5.1 (9B176) Place the copied files in the equivalent place on your Snow Leopard Mac: probably /Developer/Platforms/iPhoneOS.platform/DeviceSupport Similarly copy … Read more