0

I am trying to use plotly in Jupyter-notebook under the virtual environment created using Anaconda. I have successfully installed plotly, as tested from command line prompt.

enter image description here

However, when I import plotly in Jupyter-notebook, it failed. What can be the reason?

enter image description here

user288609
  • 12,465
  • 26
  • 85
  • 127
  • 1
    Could you please check the kernal set for the jupyter notebook, it think it may be set to one that does not have plotly installed! – Naren Murali Aug 13 '18 at 06:21
  • But there is is only one kernel Python3 from the "change kernel" manual. – user297850 Aug 13 '18 at 13:32
  • Did you install either `notebook` or `ipykernel` into your new environment? If not, you need to do so. – darthbith Aug 13 '18 at 13:55
  • Possible duplicate of [Jupyter notebook can't load installed package in conda environment](https://stackoverflow.com/questions/47557385/jupyter-notebook-cant-load-installed-package-in-conda-environment) – darthbith Aug 13 '18 at 13:55
  • Could you post the output of " import plotly; plotly.__path__". Also please report the output of "import sys; print (sys.path)" in both the jupyter and python prompt. – Kris Aug 13 '18 at 13:57
  • Please also do not post terminal/code output in images. Please see here for why: https://unix.meta.stackexchange.com/q/4086/40481 – darthbith Aug 13 '18 at 13:58

0 Answers0