AllenDowney / ModSimPy

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

Installing Pint with Python 3.7 #40

Closed sdziallas closed 5 years ago

sdziallas commented 5 years ago

The pint version (0.7.2) in the unidata channel is for Python 3.6. When installing it on the latest version of Anaconda with Python 3.7, this downgrades a large number of packages to Python 3.6. The conda-forge channel has the latest version of pint (0.9) for Python 3.7 and is referenced on the pint website. Unless the older version of pint is required, could you use the conda-forge channel instead?

AllenDowney commented 5 years ago

Thanks, Sebastian. How's this? 5ec16a5

sdziallas commented 5 years ago

That seems fine! There's also a reference to unidata in the book itself.

https://github.com/AllenDowney/ModSimPy/blob/a959ae6a67950a35bb8778a3b556d842f0b3036c/book/book.tex#L433

Sorry for not actually providing a pull request - and hoping all is well!

AllenDowney commented 5 years ago

Fixed. Will be in the next release. Thanks again!