Closed saketkc closed 5 years ago
I need to fix versions, I think this may help solving some issues. Meanwhile, can you make sure you have these versions installed:
biopython==1.70
Cython==0.28
dask==0.17.1
distributed==1.21.3
fastparquet==0.1.4
joblib==0.11
llvmlite==0.22.0
numpy==1.14.2
pandas==0.22.0
patsy==0.5.0
pysam==0.14
scikit-learn==0.19.1
scipy==1.0.0
tornado==5.0
tqdm==4.19.7
sklearn==0.0
statsmodels==0.8.0
psutil==5.4.3
In particular, joblib
has changed it's default backend from multiprocessing to loky since version 0.12, and I am not sure yet of the implications, but I suspect this may be the issue. Can you try fixing versions of the packages in a fresh virtual environment?
Thanks for your suggestion @eboileau. However that doesn't help either. Attached are the error and the new environment.
Thanks! stderr.txt rpbp_env_v2.txt
Hi, when re-installing, the models under .local/share/rpbp/rpbp_models
would not recompile by default, it may be that they did not compile correctly initially. Did you keep an install log? You could always delete the models and/or force recompilation. Honestly, I am not sure, as I cannot reproduce this error. Could you just check if pystan is working correctly:
import pystan
model_code = 'parameters {real y;} model {y ~ normal(0,1);}'
model = pystan.StanModel(model_code=model_code)
y = model.sampling(n_jobs=1).extract()['y']
y.mean() # ~ 0
@saketkc, the latest dev branch upgraded most dependencies, and fixes the joblib
backend problem. You can also reinstall and force the recompilation of the Stan models using the specified version of Pystan
.
Hi, I am having trobule getting the
rp-bp
pipeline running. It seems to be arising frompystan
, however, I have the correct version installed. I can't seem to get to the root of the error and hence decided to open this issue.My environment file is attached. Here is the relevant step and failure:
rpbp_env.txt
I really appreciate your efforts on rp-bp!