Plotly in Jupyter issue

前端 未结 9 2317
暗喜
暗喜 2021-02-13 03:47

I installed plotly.py to work some plots using Jupyter but I cannot import it.

! pip install plotly --upgrade
Requirement already up-to-date: plotly in c:\\pytho         


        
9条回答
  •  天涯浪人
    2021-02-13 04:03

    In the jupyter notebook, running the correct kernel you want the package to be installed, run

    import sys
    !conda install --yes --prefix {sys.prefix} plotly
    

    This installs plotly within the correct kernel.

提交回复
热议问题