merenlab / anvio

An analysis and visualization platform for 'omics data
http://merenlab.org/software/anvio
GNU General Public License v3.0
426 stars 145 forks source link

pip installing older versions of anvio? #477

Closed UCSBMicrobiologyCore closed 7 years ago

UCSBMicrobiologyCore commented 7 years ago

Hi all;

I installed the spring version of anvio using pip as instructed on the installation guide. However, as my version of ubuntu requires python 2, I cannot run anvio without a virtualenv. Currently I'm in a rush to get something on a poster, but after trying and failing multiple times with setting this up using online guides (still getting the "we no longer support python2" message, even though python --version spits out 3), I need a quick fix. Is there any way to pip install the xmas version of anvio? I tried running the script as I had installed it before, but it runs into an error reinstalling Rstudio as it exists already (?) and I don't want to mess with that any further (I also tried installing it on another computer in this manner and it gives me the spring).

sorry for the trouble and thank you

Jon

meren commented 7 years ago

Hi Jon,

Do all the steps described here, but modify this part (see the last line):

pip install numpy
pip install scipy
pip install cython
pip install anvio==2.1.0

Plus, modify the version number to 2.1.0 whenever you see them throughout that recipe.

UCSBMicrobiologyCore commented 7 years ago

works great! much appreciated.