Closed ghost closed 6 years ago
My best guess now an issue related to pymc-devs/pymc3#1247.
I will switch to another version of joblib or try Python3.
Just kindly piling on here :)
njobs=2 just sits but njobs=1 runs after pip install pymc3 --upgrade
which provided 3.4.1.
I'm running in Py2.7 and I'm happy to provide any further system/versioning details desired if helpful.
After switching to Python3, I was able to get this running. It may have come down to a missing dependency, though.
conda install mkl-service libpython m2w64-toolchain
conda install -c conda-forge blas
@pointOfive I did notice an issue with njobs>1, but I think that was resolved after installing blas. Currently it runs fine with or without njobs=1
, though the ASCII progress bar disappears from the notebook - instead it shows up in the terminal window where jupyter was launched.
This may be consistent with pymc-devs/pymc3#1247, since they mention repeatedly that the joblib issue disappears and reappears sporadically.
Running this notebook hangs at the line below; I'm not able to break operation: https://github.com/CamDavidsonPilon/Probabilistic-Programming-and-Bayesian-Methods-for-Hackers/blob/42e8c484d24de0fbeb540a1a1ca70e6d6a710ac0/Chapter1_Introduction/Ch1_Introduction_PyMC3.ipynb#L733
Before it hangs, I do get some output on stderr, but it does not seem related:
I'm wondering if this is related to: pymc-devs/pymc3#781
I'm running pymc3 v3.4.1 in python 2.7.14 (anaconda).