title: Python Not Importing
body: <p>So i downloaded the lastfm api for python made by people.  found here:  <a href="http://code.google.com/p/python-lastfm/" rel="nofollow">http://code.google.com/p/python-lastfm/</a></p>
  
  <p>I have a website hosting through dreamhost. I wasnt able to build the module using:
  <br>
  <code>
  python setup.py build
  </code><br>
  in my shell that i used putty to get into.  But when i would run<br>
  <code>
  python setup.py install
  </code><br>
  it would return an error.  Figuring that all install really does is throw the files from the lib dir into the python site-packages folder, i decided to try and manually do it.  I was successful in doing so on my local machine and was able to run python and type import lastfm with no errors.  But i could not get it working on my webhost.</p>
  
  <p>I do have quite the clusterfuck currently on my webhost due to my n00bism, by that i mean i tried installing python multiple times, and i dont really know where it installed successfully.  All i know is i can go to putty and type python and it will run, but i dont know exactly where from.  So i copied the lastfm build over to every python2.x/lib/site-packages i could find, but to no avail.</p>
  
  <p>I dont know what im doing wrong.  It says pythons os path is usr/lib/python2.5 and i figure usr means the root or local.  idk.  im very confused.</p>
  
  <p>I also am curious because i am able to import things like mysql and sqlite by typing<br>
  <code>
  import MySQLdb <br>
  import sqlite  <br>
  import sqlite3<br>
  </code><br>
  and all those work, yet i dont see them anywhere in my python path.</p>
  
  <p>thanks in advance.  if i need to list more info please tell me.  thanks!</p>
  
  <p>edit:</p>
  
  <p>$ python setup.py install
  running install
  error: can't create or remove files in install directory</p>
  
  <p>The following error occurred while trying to add or remove files in the
  installation directory:</p>
  
  <pre><code>[Errno 13] Permission denied: '/usr/lib/python2.5/site-packages/test-easy-install-11740.write-test'
  </code></pre>
  
  <p>The installation directory you specified (via --install-dir, --prefix, or
  the distutils default setting) was:</p>
  
  <pre><code>/usr/lib/python2.5/site-packages/
  </code></pre>
  
  <p>Perhaps your account does not have write access to this directory?  If the
  installation directory is a system-owned directory, you may need to sign in
  as the administrator or "root" account.  If you do not have administrative
  access to this machine, you may wish to choose a different installation
  directory, preferably one that is listed in your PYTHONPATH environment
  variable.</p>
  
  <p>For information on other options, you may wish to consult the
  documentation at:</p>
  
  <p><a href="http://peak.telecommunity.com/EasyInstall.html" rel="nofollow">http://peak.telecommunity.com/EasyInstall.html</a></p>
  
  <p>Please make the appropriate changes for your system and try again.</p>
  
  <hr>
  
  <p>that is the error i would get when i would try to do python setup.py install</p>