Forward-time population genetic simulation in Python
The following must be present on your system:
- GSL. This is a C library. It is available via conda.
- pybind11. This should be installed via pip or conda as appropriate for your system.
GPLv3 or later (See COPYING)
Suppored Python version
fwdpy11 is written for Python 3. Given time/energy, we may look into supporting Python 2.7. However, it is impossible to support all fwdpy11 features in Python 2.7. Specifically, it is not possible to provide full pickling support.
git submodule init git submodule update python setup.py build_ext -i python test.py
Using pip on Linux (or pip3 as appropriate for your system):
pip install --upgrade fwdpy11
On OS X, you must use GCC. It is highly recommended that you use a GCC installed from Anaconda. We do all of our OS X testing using the GCC 4.8.5 from Anaconda:
CC=gcc CXX=g++ pip install --upgrade fwdpy11
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.