dieterich-lab / rp-bp

Rp-Bp is a Bayesian approach to predict, at base-pair resolution, ribosome occupancy and translation.
MIT License
7 stars 5 forks source link

AttributeError: 'StanModel' object has no attribute 'fit_class' #106

Closed yuan777 closed 2 years ago

yuan777 commented 4 years ago

i installed the software accroding to the manuscript, all is perfect, except "conda install -c salford_systems libgcc-6=6.2.0", there is no mirror named salford_systems now, but when run "create-orf-profiles" command, something wrong with the print message in the picture, i google it, it might caused by gcc version, my gcc version is 6.5.0, which is satisfied the pystan, and i import pystan in python to build model, it works normal, so, would you give me some suggestions.

1590159185(1)

eboileau commented 4 years ago

Dear @yuan777

When opening a new issue, please use the template provided. Also, before creating a duplicated issue, please make sure to look in older issues if your problem has been addressed before. The Stan error is likely due to version conflicts, see #98 and #99 , and make sure to use the latest rpbp version.

As for conda, I am not maintainer of this package, but indeed there seem to be comments online referring to a broken installation. Maybe you can search the anaconda cloud for gcc-6 and install it, there might be other alternatives, unfortunately I cannot look into this now, and you'll have to figure it out yourself, if you wish to use Anaconda. Otherwise, I recommend to use the standard python virtual environment.