Closed bmmalone closed 7 years ago
This appears to be related to Issue #36.
Later from Zhengato
I run this test on Linux. I don’t known which mode file is not found correctly, and which parameters should check in yam file?
Hi Zhengato,
For Linux, the Stan model files are typically installed in $HOME/.local/share/rpbp/rpbp_models/*
. Please use the following command to check if the files exist:
$ find $HOME/.local/share/rpbp \( -name "*stan" -o -name "*pkl" \)
The expected output is something like:
/home/nle5231/.local/share/rpbp/rpbp_models/periodic/start-high-low-low.pkl
/home/nle5231/.local/share/rpbp/rpbp_models/nonperiodic/start-high-high-low.pkl
/home/nle5231/.local/share/rpbp/rpbp_models/nonperiodic/no-periodicity.pkl
/home/nle5231/.local/share/rpbp/rpbp_models/nonperiodic/start-high-low-high.pkl
/home/nle5231/.local/share/rpbp/rpbp_models/translated/periodic-gaussian-mixture.pkl
/home/nle5231/.local/share/rpbp/rpbp_models/untranslated/gaussian-naive-bayes.pkl
The pickle files contain compiled versions of the respective Stan models described in the paper. If they do not exist, then a problem occurred while installing the program.
If they are not there, please try installing with detailed debug information:
pip3 uninstall rpbp
pip3 install --verbose --log log.rpbp-install.txt -r requirements.txt
The log file should then contain detailed error messages, so we can see if there was a problem compiling the models.
Have a good day, Brandon
Later from Zhengato...
Thanks! But I encountered another error when install it using pip3,
/bin/sh: 1: pickle-stan: not found
What package should I install before this step?
The pickle-stan
script is installed as part of the pymisc-utils
package, which is now explicitly included and versioned in the requirements.txt
file. That should address this issue.
From Zhengtao: