Download
Current Release - 1.84 - 28 June 2024
See also What’s
new.
Files
Biopython 1.84
Installation Instructions
All supported versions of Python include the Python package management
tool pip
, which allows an easy installation from the command line on
all platforms. Try:
For updating an older version of Biopython try:
pip install biopython --upgrade
This will remove older versions of Biopython and NumPy before it installs
the recent versions.
Should you wish to uninstall Biopython:
If pip is not already installed you may need to update your Python, but first try:
If you need to install under a specific version of Python, try something
like this:
python3.9 -m pip install biopython
pypy -m pip install biopython
On Windows, by default python
and pip
are not on the PATH
.
You can re-install Python and tick this option, or give the full path instead.
Try something like this, depending on where your copy of Python is installed:
C:\Python39\Scripts\pip install biopython
Other packages
While we generally recommend using pip
to install Biopython using
the wheel packages we provide on PyPI (as above), there are also
Biopython packages for Conda, Linux, etc.
Installation from Source
Installation from source requires an appropriate C compiler, for example
GCC on Linux, and MSVC on Windows. For macOS, if you want to
compile Biopython from source you will need to have installed Apple’s
command line tools, which can de done with the terminal command:
This will offer to install Apple’s XCode development suite - you can, but
it is not needed and takes a lot of disk space.
You can then download and unzip a Biopython source code release, or get
our code from GitHub. Then run:
python setup.py build
python setup.py test
python setup.py install
or:
If you are still stuck, sign up to the Biopython mailing
list and ask for help there.
Required Software
- Python 3 or PyPy (a version supported by
the version of Biopython you wish to install), including the Python
development header files like
python.h
(if compiling from source)
- C compiler (if compiling from
source) You
need a C compiler supported by
setuptools
, gcc will work fine on
UNIX-like platforms. Try MSVC on Windows. On macOS, you should install
Apple’s the compiler tools as described above.
- NumPy (Numerical Python).
Optional Software
Some parts of Biopython use the following additional python libraries:
In addition Biopython includes wrapper code for calling a number of
third party command line tools including:
- Wise2 – for command line tool dnal
- NCBI Standalone
BLAST – command
line tool for running BLAST on your local machine
- Clustalw –
command line tool for building sequence alignments
- SIMCOAL2 and
FDist – command
line tools for population genetics
- EMBOSS – lots of useful command
line tools.
Old Releases
Recent releases of Biopython require NumPy (and not Numeric).
Version 1.76 is the last release to support Python 2.7 and 3.5,
all later releases require Python 3:
Please note that Biopython 1.48 and older require the Numeric library,
not its replacement NumPy. Windows installers for Python 2.4 and older
are available from the Numerical
Python website. A Windows
installer for Numeric 24.2 for Python 2.5 is available here:
Please note that Biopython 1.48 and older used mxTextTools
2.0
in some of the parsers. There were a few niggles with mxTextTools 3.0,
so ideally install the older mxTextTools 2.0.
- biopython-1.48.tar.gz
4,051 Kb (September 8, 2008)
- biopython-1.48.zip
4,542 Kb
- biopython-1.48.win32-py2.3.exe
1,226 Kb
- biopython-1.48.win32-py2.4.exe
1,254 Kb
- biopython-1.48.win32-py2.5.exe
1,254 Kb
- Tutorial-1.48.pdf – Documentation
- biopython-1.47.tar.gz
4,018 Kb (July 5, 2008)
- biopython-1.47.zip
4,528 Kb
- biopython-1.47.win32-py2.3.exe
1,207 Kb
- biopython-1.47.win32-py2.4.exe
1,236 Kb
- biopython-1.47.win32-py2.5.exe
1,236 Kb
- Tutorial-1.47.pdf – Documentation
- biopython-1.46.tar.gz
3,926 Kb (June 29, 2008)
- biopython-1.46.zip
4,426 Kb
- biopython-1.46.win32-py2.3.exe
1,206 Kb
- biopython-1.46.win32-py2.4.exe
1,235 Kb
- biopython-1.46.win32-py2.5.exe
1,235 Kb
- Tutorial-1.46.pdf – Documentation
- biopython-1.45.tar.gz
3,886 Kb (March 22, 2008)
- biopython-1.45.zip
4,395 Kb
- biopython-1.45.win32-py2.3.exe
1,113 Kb
- biopython-1.45.win32-py2.4.exe
1,141 Kb
- biopython-1.45.win32-py2.5.exe
1,142 Kb
- Tutorial-1.45.pdf – Documentation
- biopython-1.44.tar.gz
3,750 Kb (October 28, 2007)
- biopython-1.44.zip
4,243 Kb
- biopython-1.44.win32-py2.3.exe
1,091 Kb
- biopython-1.44.win32-py2.4.exe
1,116 Kb
- biopython-1.44.win32-py2.5.exe
1,116 Kb
- Tutorial-1.44.pdf – Documentation
- biopython-1.43.tar.gz
3,778 Kb (March 17, 2007)
- biopython-1.43.zip
4,271 Kb
- biopython-1.43.win32-py2.3.exe
1,104 Kb
- biopython-1.43.win32-py2.4.exe
1,108 Kb
- biopython-1.43.win32-py2.5.exe
1,109 Kb
- Tutorial-1.43.pdf – Documentation
- biopython-1.42.tar.gz
3,841 Kb (July 16, 2006)
- biopython-1.42.zip
4,399 Kb
- biopython-1.42.win32-py2.3.exe
1,070 Kb
- biopython-1.42.win32-py2.4.exe
1,074 Kb
- biopython-1.42.win32-py2.5.exe
1,075 Kb
- Tutorial-1.42.pdf – Documentation
- biopython-1.41.tar.gz
3,719 Kb (October 28, 2005)
- biopython-1.41.zip
4,241 Kb
- biopython-1.41.win32-py2.3.exe
1,038 Kb
- biopython-1.41.win32-py2.4.exe
1,042 Kb
- Tutorial-1.41.pdf – Documentation
- biopython-1.40b.tar.gz
3,437 Kb (February 18, 2005)
- biopython-1.40b.zip
3,267 Kb
- biopython-1.40b.win32-py2.3.exe
1,019 Kb
- biopython-1.40b.win32-py2.4.exe
1,023 Kb
- Tutorial-1.40b.pdf – Documentation
- biopython-1.30.tar.gz
3,186 Kb (May 14, 2004)
- Tutorial-1.30.pdf – Documentation
- biopython-1.24.tar.gz
3,081 Kb (February 16, 2004)
- biopython-1.24.zip
3,623 Kb
- biopython-1.24.win32-py2.2.exe
892 Kb
- biopython-1.24.win32-py2.3.exe
894 Kb
- Tutorial-1.24.pdf – Documentation
- biopython-1.23.tar.gz
2,241 Kb (October 18, 2003)
- biopython-1.23.zip
2,719 Kb
- biopython-1.23.win32-py2.2.exe
833 Kb
- biopython-1.23.win32-py2.3.exe
842 Kb
- Tutorial-1.23.pdf – Documentation
- biopython-1.22.tar.gz
2,214 Kb (October 9, 2003)
- biopython-1.22.zip
2,691 Kb
- Tutorial-1.22.pdf – Documentation
- biopython-1.21.tar.gz
2,214 Kb
- biopython-1.21.zip
2,897 Kb
- biopython-1.21.win32-py2.2.exe
770 Kb
- biopython-1.21.win32-py2.3.exe
832 Kb
- Tutorial-1.21.pdf – Documentation
- biopython-1.20.tar.gz
2,101 Kb (July 28, 2003)
- biopython-1.20.zip
2,602 Kb
- Tutorial-1.20.pdf – Documentation
- biopython-1.10.tar.gz
1,811 Kb (December 17, 2002)
- biopython-1.10.zip
2,300 Kb
- biopython-1.10.win32-py2.2.exe
1,199 Kb
- Tutorial-1.10.pdf – Documentation
- biopython-1.00a4.tar.gz
1,739Kb (December 18, 2001)
- biopython-1.00a4.zip
2,121Kb
- biopython-1.00a4.win32-py2.0.exe
835Kb
- biopython-1.00a4.win32-py2.1.exe
837Kb
- biopython-1.00a4.win32-py2.2.exe
838Kb
- MacBiopython-1.00a4.sit
2.2Mb
- Tutorial-1.00a4.pdf – Documentation
- biopython-1.00a3.tar.gz
1,816Kb (September 3, 2001)
- biopython-1.00a3.zip
2,165Kb
- biopython-1.00a3.win32-py2.0.exe
583Kb
- biopython-1.00a3.win32-py2.1.exe
585Kb
- Macbiopython-1.00a3.sit.bin
1926Kb
- Tutorial-1.00a3.pdf – Documentation