Hi boys, I’m trying run pystan model in linux and print me this:
Traceback (most recent call last):
File “pystan.py”, line 1, in
import pystan
File “/media/luis/LUSCA/Python/pystan.py”, line 31, in
sm = pystan.StanModel(model_code=schools_code, data=schools_dat,
AttributeError: ‘module’ object has no attribute ‘StanModel’
Thanks ahartikainen, rosgori, but I can’t import modules. I believe that’s about PYTHONPATH directory .path. I have try all posibility, installing all packages and re-installing allways get out ImportError
Solved, ok. Thanks ahartikainen, rosgori again. It was about environment directory PATH. Also, I uninstalled numpy and scipy then installed and upgraded.