Hello everyone,
I have installed pymc after following installation instructions under Theano-Pymc installation from here: Installation Guide (Linux) · pymc-devs/pymc Wiki · GitHub
and am trying to go through some examples related to pymc from here: Analysis of An \(AR(1)\) Model in PyMC3 — PyMC3 3.11.5 documentation
The issue I am facing is as follows:---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
Input In [20], in <cell line: 10>()
8 import matplotlib.pyplot as plt
9 import numpy as np
—> 10 import pymc3 as pm
ModuleNotFoundError: No module named ‘pymc3’
Tried using pymc instead of pymc3 but gives following error:---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Input In [24], in <cell line: 1>()
----> 1 with pm.Model() as ar1:
2 # assumes 95% of prob mass is between -2 and 2
3 theta = pm.Normal(“theta”, 0.0, 1.0)
4 # precision of the innovation term
AttributeError: module ‘pymc’ has no attribute ‘Model’
Can anyone help me to find what am I missing?
Thanks in advance.