Estuarine and Coastal Environment, Coastal Engineering and Management, Sustainability Science


Install PyMC3 on Windows 10 (Anaconda)

I tried installing PyMC on Windows 10 to learn materials in the book of “Bayesian Methods for Hackers”, but I encountered problems, which seems owing to suspension of maintenance. I first created a virtual environment of pymc3 and then installed necessary packages using conda: > conda create -n pymc3 python=3.6 > activate pymc3 > conda install matplotlib > conda install pymc3 However, import pymc3 lead to ModuleNotFoundError. So did import pymc(installing pymc2). Fortunately I found a solution from this article (in Japanese) and summarized how I accommodated below. First I recreated a virtual environment for pymc3 and then started installing Python3.5 instead of Python 3.6. > deactivate > conda remove …