You need to use: pip install MySQL-python
This article explains the correct approach: http://mysql-python.blogspot.com/2012/11/is-mysqldb-hard-to-install.html
That is the key to the kingdom when it comes to using extensions like Flask-Admin and Flask-Restless on existing tables which do not have a class already.
That guide gave me the least amount of hassle when I installed VNC on a server. I started by trying to get it working with 13.10, but had issues with a grey screen when tightvnc connected.
Unfortunately, it messed up quite a few links on my site.
I ended up solving the problem by changing "AllowOverride" None to "AllowOverride All" in my /etc/apache2/sites-available/default file.
Why the heck is CakePHP using .htaccess files by default anyway? Yii has this more streamlined.
There's also this one, but it has much fewer commits: https://github.com/zynesis/cakephp-boilerplate
If you're getting this error, you may need to move the lib folder from your build directory into the folder of your JAR file.
That will print "test2".
You need to use self.render instead:
- Use this script to ensure UART2 is enabled in the device tree: https://github.com/victorporof/BeagleBone-SPI-UART
- Enable ttyO1 it in the firmware using this guide (makes the device appear): http://www.element14.com/community/blogs/mirandasoft/2013/07/30/beaglebone-black-rapid-activation-of-ttyo1-ttyo2-ttyo4-and-ttyo5
- Put a paperclip into the RS232 port like in the picture on this page: http://sensorsblog.com/serial-communications/rs232loopbacktest/
- echo hello > /dev/ttyO1
- cat /dev/ttyO1