Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I downloaded http://sourceforge.net/projects/mysql-python/ and extracted the file. I then pasted the MySQL folder inside of my Sage folder. Then in Sage I typed "sudo sage setup.py install", but it didn't work. The terminal gave me the output below. This shows that MySQL-python-1.2.3 is now located in my Sage folder.

johndoe@johndoe:~/Sage$ ls
Chapter3_2.py  chapter5_1.py  devel     ipython   MySQL-python-1.2.3  sage-README-osx.txt  VERSION.txt
Chapter3.py    COPYING.txt    examples  local     README.txt          spkg
chapter4_1.py  data           Hello.py  Makefile  sage                sudoku?
johndoe@johndoe:~/Sage$

Then I started Sage and entered "sudo sage setup.py install". The output from this is below.

johndoe@johndoe:~/Sage$ sudo sage setup.py install
sudo: sage: command not found
johndoe@johndoe:~/Sage$

What am I doing wrong?

Thanks, William