Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Python 3.6 or later #2177

Open
OrielResearchCure opened this issue Mar 21, 2021 · 2 comments
Open

Python 3.6 or later #2177

OrielResearchCure opened this issue Mar 21, 2021 · 2 comments

Comments

@OrielResearchCure
Copy link

Hello,

I want to use biopython library. Probably trivial question that I am not familiar with the process.

When I run:

!pip install biopython

I get the following message:

Collecting biopython
  Using cached https://files.pythonhosted.org/packages/3d/2f/d9df24de05d651c5e686ee8fea3afe3985c03ef9ca02f4cc1e7ea10aa31e/biopython-1.77.tar.gz
    Complete output from command python setup.py egg_info:
    Biopython requires Python 3.6 or later. Python 3.5 detected.
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-f7lipnn_/biopython/

I tried to upgrade the python with

!conda update --yes python

when i type
!python --version
I get:

Python 3.5.6 :: Anaconda, Inc.

how do I update the python version in the environment?

Thanks,
eilalan

@Mohit1-K
Copy link

You can try with this command:

conda install python=3.6.0 (whatever version you want)

If this doesn't work, close your environment and install outside the environment, it will surely work.

@OrielResearchCure
Copy link
Author

thanks. Sorry for the late response. will try

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants