AllenDowney / ModSimPy

Text and supporting code for Modeling and Simulation in Python
https://allendowney.github.io/ModSimPy/
MIT License
823 stars 1.76k forks source link

Add requirements.txt file #48

Closed syclops closed 4 years ago

syclops commented 4 years ago

Add a pip requirements.txt file to allow non-Anaconda users to easily configure their environment for the notebooks in this repo. This file will tell pip to install the exact same packages as in the current environment.yml file. It is worth noting that PyTables is pytables in Anaconda but simply tables in PyPI.

This has been tested on Python 3.7.4 on a clean install of Debian Buster, and is not guaranteed to work on all platforms. Specifically, this does require tools such as GCC to be installed on your machine. One other caveat is that the specific versions of the packages may not be synchronized on PyPI and Anaconda, so future updates to these packages may cause the environment install to break on one platform and not the other.

AllenDowney commented 4 years ago

Thank you!