[Biopython] request to solve unistallation and installation biopython in two version of python under ubantu linux vertually in window7 using Oracle box.

kakchingtabam pawankumar sharma pawan.mani2 at gmail.com
Sat Sep 10 17:09:06 UTC 2011


Thanks for your reply.


Dear Eric,I have reinstall the ubantu using oracle VM virtual box. rit now
in my system i have python2.6 so instead of python2.6, i would like to have
python 2.7  and 3.1. for this two separate biopython also. so kindly tel me
the *required exact commands to instal*l in my system.



Dear Pete,r u mean to say is that python 3 is not possible to use biopython
package. but i was reading a book called PYTHON FOR BIOINFORMATICS 2010
edition.  this author taught us using biopython in python3 version. they
kept emphasising the reader to learn python3 version.

With best regards,
Pawankumar sharma



On Sat, Sep 10, 2011 at 7:59 PM, Eric Talevich <eric.talevich at gmail.com>wrote:

> Pawankumar,
>
> Try this series of commands:
>
> sudo aptitude reinstall python
> sudo aptitude remove python-biopython
> sudo aptitude install python-setuptools
> sudo aptitude install python3-setuptools
> sudo easy_install biopython
> sudo easy_install3 biopython
>
>
> This should fix your current Python 2.7 installation, which must be
> installed correctly for most of Ubuntu to work.
>
> The it installs the setuptools package for both Python 2.7 and Python 3,
> which includes the program "easy_install". As Peter mentioned, each Python
> version keeps its own set of installed libraries, so you need to install
> Biopython separately for each Python version you want to use.
>
> Don't use apt-get to install Python packages, in general. Use the
> easy_install command instead -- easy_install for the default Python version
> (2.7), easy_install3 for Python 3.
>
> Cheers,
> Eric
>
>
> On Fri, Sep 9, 2011 at 1:04 PM, kakchingtabam pawankumar sharma <
> pawan.mani2 at gmail.com> wrote:
>
>> Dear sir,
>>     I have been facing a problem in removing biopython from ubantu which i
>> am
>> using virtually using oracle VM vertualBox software. i have python2.7. but
>> i
>> hav
>> instal python3 using apt-get command. and then i install biopython using
>> aptget
>> . then i could not able to import biopython in python3. only it works in
>> python2.7. so i have remove python2.7 using sudo rm command. then i
>> uninstall
>> biopython using apt-get remove. then i type the command:
>>
>>      $ dpkg --list | grep 'biopython'
>> then i got :
>>
>> rF python-biopython           1.56-l     Python library for Bioinformatics
>> ii python-biopython           1.56-l     Documentation for the biopython
>> library
>>
>>
>>
>> How to remove this two files and I have downloanded biopython tar file but
>> before completing i have stop and when i locate biopythone. there is a
>> file
>> biopython-1.58.tar.gz.par. i want to delete this file.
>>
>>
>> I would like to know whether biopython is compatible with python.3.2.
>>
>> if yes then i want to install Biopython for the two python version 2.7.2
>> and
>> 3.2.
>>
>> Kindly guide me to remove python3 also and I want to reinstall the two
>> python
>> version along with biopython. so that i ca used in both the version.
>>
>> With best regards,
>> pawankumar
>> _______________________________________________
>> Biopython mailing list  -  Biopython at lists.open-bio.org
>> http://lists.open-bio.org/mailman/listinfo/biopython
>>
>
>



More information about the Biopython mailing list