python3.7 biopython, how to learn python3 and still use biopython

Firstly, check out this page: biopython.org/wiki/Download
You don’t have to worry about biopython being bound to a specific version of python – you can use it with either v2.7 or v3.4/v3.5/v3.6. You can also have multiple version installed on your system but I recommend you to focus on digging deeper into one of them. Personally, I work now for several years with python3.x (at the moment 3.6) but I know a lot of people sticking to v2.7.

Having also a bioinformatics background, one thing that I can highly recommend you at the beginning of your journey is taking a course such as:
www.coursera.org/specializations/python
There is also a bunch of free tutorials on youtube – you will easily find one that fits your needs by searching for “python tutorial” or “python getting started”.

Get yourself comfortable with the language, check out the basics such as data structures, databases, and data visualization. Check also some “python cheat sheets” – they can help you pick up the basic concepts of the language.
All the best and keep on coding!

From the biopython installation document:

Biopython is designed to work with Python 2.5 to 2.7 inclusive. Python 2.7 is the final 2.x series release, and this would be our recommended version (assuming all other Python libraries you plan to use support it).

Upgrading bug-fix releases (for example. 2.6.1 to 2.6.2) is incredibly easy and won’t require any re-installation of libraries.

Upgrading between versions (e.g. 2.6 to 2.7) is more time consuming since you need to re-install all libraries you have added to python.

As of Biopython 1.62 we officially support Python 3, specifically Python 3.3. Python 3.0, 3.1 and 3.2 will not be supported.

Also from the Biopython website:

Python 2.7, 3.4, 3.5, or 3.6 or PyPy, including the Python development header files like python.h

So biopython is inconsistent with their documentation.

I think your best option is to download either the latest version of Python 2 or 3 and see if it works.

Read more here: Source link