colaboratory will not acknowledge arviz after installation and import

后端 未结 2 1840
遇见更好的自我
遇见更好的自我 2021-01-19 19:49

In Google\'s colaboratory, installed arviz then did import arviz without error, but in a code cell, pm.plot_posterior(samples) gets error: arviz not installed.

Tryin

相关标签:
2条回答
  • 2021-01-19 20:39

    Install Arviz prior to importing PyMC3, otherwise it apparently cannot find it. In your case, simply restarting the runtime (Runtime > Restart runtime...) should get it working.

    0 讨论(0)
  • 2021-01-19 20:49

    Hi did you try adding the cell magic %matplotlib inline? This may be an issue where jupyter-notebook doesn't "know" to render the plot inline

    0 讨论(0)
提交回复
热议问题