[Biopython] Biopyhton 1.57 version problem

João Rodrigues anaryin at gmail.com
Mon Jul 18 13:00:53 UTC 2011


Dear Isha,

The problem most likely is that you didn't completely remove 1.53, and your
PYTHONPATH variable is likely still pointing to it. When you start python
from the Biopython directory and import Bio, it will not load system-wide
packages but instead the one it has at hand.

I'd suggest you:

1) Do sudo aptitude remove/purge python-biopython

At this point, if you do:

cd $HOME
python
>> import Bio

It should give an ImportError. If not, there is still some version somewhere
that you need to remove.

2) Install Biopython 1.57 from the directory you downloaded, using sudo make
install and not giving any --home option during setup. This will ensure it
is installed system-wide and accessible from any python call.

Best,

João




More information about the Biopython mailing list