importing starry but get an error on attribute 'geweke'
See original GitHub issue>>> import starry
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/starry/__init__.py", line 17, in <module>
from . import kepler, linalg, maps
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/starry/kepler.py", line 4, in <module>
from .maps import MapBase, RVBase, ReflectedBase
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/starry/maps.py", line 4, in <module>
from ._core import OpsYlm, OpsLD, OpsReflected, OpsRV, math
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/starry/_core/__init__.py", line 2, in <module>
from . import core, ops, utils, math
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/starry/_core/core.py", line 31, in <module>
import exoplanet
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/exoplanet/__init__.py", line 12, in <module>
from . import distributions, interp, orbits
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/exoplanet/distributions/__init__.py", line 16, in <module>
from . import eccentricity
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/exoplanet/distributions/eccentricity.py", line 7, in <module>
import pymc3 as pm
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/pymc3/__init__.py", line 64, in <module>
from .stats import *
File "/Users/wang.12220/opt/anaconda3/lib/python3.6/site-packages/pymc3/stats/__init__.py", line 47, in <module>
geweke = map_args(az.geweke)
AttributeError: module 'arviz' has no attribute 'geweke'
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (9 by maintainers)
Top Results From Across the Web
AttributeError: module 'arviz' has no attribute 'geweke'
More specifically, when trying to import pymc3, I get the following error “AttributeError: module 'arviz' has no attribute 'geweke'”.
Read more >Cannot import pymc3 module due to geweke - Stack Overflow
It looks like the issue is related to the version of python (3.6) you are using and a dependant library pyMC use called...
Read more >An error occurred during the data import. Details
Requirement is to update the TypeCode attribute for multiple records through import. An error occurred during the data import.
Read more >Import Problems - Plytix Help Center
In this article, we will highlight some of the most common errors we encounter and how to fix them. Corrupted File. Funky Characters....
Read more >Reference Guide to exceptions or errors when importing
This guide is designed to include the most common exceptions or errors a user may receive when importing through the Raiser's Edge.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is a PyMC3 issue (old versions of PyMC are not compatible with new versions of ArviZ), not a starry issue! You’ll need to update PyMC3 or downgrade arviz (this is probably the easier approach). @rodluger can probably suggest which would be best. To downgrade ArviZ, use:
Thank you so much!
On Tue, Mar 30, 2021 at 2:26 PM Rodrigo Luger @.***> wrote: