ialbert / bio

Making bioinformatics fun again

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trouble installing bio

chuddy-ibk opened this issue · comments

I am currently going through the biostar handbook to acquire as much knowledge as possible for NGS.
When i try to install "bio" in the environment, which was created to go through this book, it puts out an error:
"
ERROR: Could not find a version that satisfies the requirement biopython>=1.80 (from bio) (from versions: 1.0a3, 1.0a4, 1.10, 1.20, 1.21, 1.22, 1.23, 1.24, 1.30, 1.40b0, 1.41, 1.42, 1.43, 1.44, 1.45, 1.46, 1.47, 1.48, 1.49b0, 1.49, 1.50b0, 1.50, 1.51b0, 1.51, 1.52, 1.53, 1.54b0, 1.54, 1.55b0, 1.55, 1.56, 1.57, 1.58, 1.59, 1.60, 1.61, 1.62b0, 1.62, 1.63b0, 1.63, 1.64, 1.65, 1.66, 1.67, 1.68, 1.69, 1.70, 1.71, 1.72, 1.73, 1.74, 1.75, 1.76, 1.77, 1.78, 1.79)
ERROR: No matching distribution found for biopython>=1.80 (from bio)
"
installing it outside of this environment works though.

any suggestions.
Thank you.

this probably means you are running Python 3.6 an enviroment created in older versions of the book

the new versions of the book will install Python 3.8,

BioPython 1.80 supports only Python 3.8 and later

a solution would be to update your python

 mamba install python==3.8

but that would probably churn for a while and might cause various hiccups as every library would be updated

I would instead create a new enviromment that has python 3.8 from the start

thank you very much. i created a new env with only "bio" because make a full environment from the newer version of the book did not work anymore for me. still, i just have two tabs open for now.