Re: [Biopython] pip install biopython in ubuntu at windows

Fernanda Trancoso <[email protected]>
Newsgroups gmane.comp.python.bio.general
Message-ID <CANcU_ch-rOZhR8YAgwj=aT3HSYAEw_RuJSyHWXvZ-VAJ0z+aJQ@mail.gmail.com>
Just so everyone knows, even though those are different environments, the
ubuntu app does let you work trough windows files and programs as i was
trying to do initially. isn't the smartest way to do it, but is possible.

in the ubuntu app you start in home, after rootfs. to cp from ubuntu files
you just need to start the path with ./.local/, and to cp from windows
files you start the path with ./mnt/c/

so from home:
./.local/lib/python3.6/site-packages
./mnt/c/Users/fernanda/AppData/Local/Programs/Python/Python37

instead of
/C/Users/fernanda/AppData/Local/Packages/CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc/LocalState/rootfs/home/trancoso/.local/lib/python3.6/site-packages

idk if it was something already obvious, but i wasnt able to find much
about using this ubuntu app in windows



Em qua, 12 de set de 2018 às 06:22, Fernanda Trancoso <
[email protected]> escreveu:

> hey, it did help! i thought it was able to mix environments since this
> ubuntu app  let me work around with the windows files, but i was wrong
> haha. thanks
>
> John Berrisford <[email protected]> schrieb am Mi., 12. Sep. 2018, 03:17:
>
>> Hi
>>
>>
>>
>> You’re mixing two different python environments.
>>
>>
>>
>> The python setup is completely independent of the windows setup.
>>
>>
>>
>> i.e. if you install python in windows then Ubuntu doesn’t know anything
>> about it.
>>
>>
>>
>> To install python3 in Ubuntu
>>
>> Open a Ubuntu terminal then type the following
>>
>> sudo apt-get install python3
>>
>>
>>
>> you may need the following to install pip for python3
>>
>> sudo apt-get install python3-pip
>>
>>
>>
>> then
>>
>> sudo pip3 install biopython
>>
>>
>>
>> Hope this helps
>>
>>
>>
>> John
>>
>>
>>
>> *From:* Biopython [mailto:biopython-bounces+jmb=
>> [email protected]] *On Behalf Of *Fernanda Trancoso
>> *Sent:* 12 September 2018 00:46
>> *To:* biopython mailing list <[email protected]>
>> *Subject:* [Biopython] pip install biopython in ubuntu at windows
>>
>>
>>
>> Hey there, good night/day/afternoon.
>>
>> can someone help me?
>>
>>
>>
>> im having problems installing biopython using ubuntu at windows.
>>
>> when i use pip install it goes to
>>
>>
>>
>>
>> AppData/Local/Packages/CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc/LocalState/rootfs/home/trancoso/.local/lib/python2.7/site-packages
>>
>>
>>
>> but i installed python 3.7 at
>>
>>
>>
>> C:/Users/fernanda/AppData/Local/Programs/Python/Python37
>>
>>
>>
>> and i dont have access to /rootfs/
>>
>> i searched for similar problems but couldnt find answers for it.
>>
>>
>>
>> thanks!
>>
>>
>>
>>
>>
>>
>>
>> --
>>
>> Fernanda Fontes Trancoso
>>
>> Aluna de Graduação em Ciências Biológicas na UFMG
>>
>> +55 (31) 9156-6485
>>
>

-- 
Fernanda Fontes Trancoso
Aluna de Graduação em Ciências Biológicas na UFMG
+55 (31) 9156-6485

_______________________________________________
Biopython mailing list  -  [email protected]
http://mailman.open-bio.org/mailman/listinfo/biopython
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.