i guess ur one of the people that dont know that Backtrack 4 is ubuntu based now.

okay to fix this problem and srry im at a school computer. so my info might be off by a couple of words.

okay so...
-open a command shell
-type "cd /pentest/web/sqlmap/"
-then just python the sqlmap script