[BioPython] Installing Biopython
Peter
biopython at maubp.freeserve.co.uk
Sat Jan 13 13:08:22 UTC 2007
Thenaturenook1 at aol.com wrote:
> Hi,
> I have just installed biopython on my Mandriva 2007 Linux system. Python 2.4
> was preinstalled so all I was required to do was to install the required
> dependencies and biopython itself. Bioython was unpacked successfully, but when
> I navigated to biopython and typed python setup.py install, I was told that
> the directory that biopython was being sent to did not exist. Python 2.4 is
> definately there, so is there anyway that I can alter where biopython tries to
> install itself too. If so, where exactly in the python folder does it need
> to be extracted to?
I think we need some more information... Does the error message not tell
you anything? Perhaps you could include that by email?
Have you ever installed a python library "from source" before?
When you do "python setup.py install" are you trying to install this for
all users of the machine? If so you will need administrator rights, so
try something like this:
sudo python setup.py install
This is what the help meant by "You will have to have permissions to
write to this directory, so you'll need to have root access on the machine."
http://biopython.org/DIST/docs/install/Installation.html#htoc21
If you are trying to install it for your account only (under your home
directory) then look at the "home" and "prefix" options for distutils
(the python install code BioPython uses). This is more complicated.
Peter
More information about the Biopython
mailing list