Ask Your Question

Revision history [back]

The easiest thing for you may be install MySQL within the SAGE environment. This can be done by downloading the MySQL library for python from http://sourceforge.net/projects/mysql-python/. Then extract it using your favorite GUI tools, or simply:

tar xzvf MySQL*.tar.gz

from wherever you download it to. Then you can install it to your SAGE environment with something as simple as:

sudo sage setup.py install

You can then delete all the MySQL-python related files in your downloads directory; they have been installed in your SAGE path.