# AttributeError: module 'arviz' has no attribute 'geweke'

**URL:** <https://discourse.pymc.io/t/attributeerror-module-arviz-has-no-attribute-geweke/6818>\
**Category:** Questions\
**Created:** [February 22, 2021, 3:26pm UTC](https://discourse.pymc.io/t/attributeerror-module-arviz-has-no-attribute-geweke/6818 "2021-02-22T15:26:03Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![DataEgg](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.pymc.io/dataegg/32/3706_2.png) [@DataEgg](https://discourse.pymc.io/u/DataEgg)\
**Post date:** [February 22, 2021, 5:14pm UTC](https://discourse.pymc.io/t/attributeerror-module-arviz-has-no-attribute-geweke/6818/4 "2021-02-22T17:14:16Z")

</div>

Now running into a new issue when using ArviZ = 0.11.0

> ImportError Traceback (most recent call last)  
> in   
> 1 import arviz as az  
> ----\> 2 import pymc3 as pm  
> 3 import theano  
> 4 from statsmodels.formula.api import glm as glm\_sm  
> 5 import statsmodels.api as sm
> 
> /opt/conda/envs/Python-3.6-WMLCE/lib/python3.6/site-packages/pymc3/ **init**.py in   
> 37  
> 38  
> —\> 39 \_\_set\_compiler\_flags()  
> 40  
> 41 from . import gp, ode, sampling
> 
> /opt/conda/envs/Python-3.6-WMLCE/lib/python3.6/site-packages/pymc3/ **init**.py in \_\_set\_compiler\_flags()  
> 31 def \_\_set\_compiler\_flags():  
> 32 # Workarounds for Theano compiler problems on various platforms  
> —\> 33 import theano  
> 34  
> 35 current = theano.config.gcc.cxxflags
> 
> /opt/conda/envs/Python-3.6-WMLCE/lib/python3.6/site-packages/theano/ **init**.py in   
> 108 object2, utils)  
> 109  
> → 110 from theano.compile import (  
> 111 SymbolicInput, In,  
> 112 SymbolicOutput, Out,
> 
> /opt/conda/envs/Python-3.6-WMLCE/lib/python3.6/site-packages/theano/compile/ **init**.py in   
> 26 from theano.compile.builders import \*  
> 27  
> —\> 28 from theano.compile.function import function, function\_dump
> 
> /opt/conda/envs/Python-3.6-WMLCE/lib/python3.6/site-packages/theano/compile/function/ **init**.py in   
> 5 from collections import OrderedDict  
> 6  
> ----\> 7 from theano.compile.function.pfunc import pfunc  
> 8 from theano.compile.function.types import orig\_function  
> 9
> 
> /opt/conda/envs/Python-3.6-WMLCE/lib/python3.6/site-packages/theano/compile/function/pfunc.py in   
> 8  
> 9 from theano import config  
> —\> 10 from theano.compile.function.types import UnusedInputError, orig\_function  
> 11 from [theano.compile.io](http://theano.compile.io) import In, Out  
> 12 from theano.compile.profiling import ProfileStats
> 
> /opt/conda/envs/Python-3.6-WMLCE/lib/python3.6/site-packages/theano/compile/function/types.py in   
> 21 from theano.gof import graph  
> 22 from theano.gof.op import ops\_with\_inner\_function  
> —\> 23 from theano.gof.toolbox import is\_same\_graph  
> 24  
> 25
> 
> ImportError: cannot import name ‘is\_same\_graph’

Guessing this is a further problem with Python version, now with Theano. I am working on Watson Studio and cannot upgrade my python very easily, so will have to be using older package versions unfortunately 😕

---

_[View the full topic](https://discourse.pymc.io/t/attributeerror-module-arviz-has-no-attribute-geweke/6818)._
