Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Why is there no module named plotly.plotly?


Asked by Artemis Beltran on Dec 09, 2021 FAQ



Based on ImportError: No module named plotly.plotly, I assume you have not installed plotly module. You can install it using pip Firstly, I'm new to plotly 2, and I am not sure I can make you understand since I'm a Chinese. Anyway, you can try this, for me, it works:
Also Know,
First make sure that you have installed plotly and save it with a .py extension. Then run it. If this works, then your installation was ok. Move any other file named plotly (with any extension) in a different directory It will hopefully work. Based on ImportError: No module named plotly.plotly, I assume you have not installed plotly module.
Furthermore, import plotly plotly.offline.init_notebook_mode (connected=True) import plotly.offline as py import plotly.plotly as py: this command will communicate with a Plotly Cloud or Plotly Enterprise. get_figure downloads a figure from plot.ly or Plotly Enterprise. You need to provide credentials to download figures: Getting Started with Plotly for Python
Thereof,
ModuleNotFoundError: No module named 'plotly' Considering you can also install Anaconda in Linux Mint and these came with Anaconda (in my case), if you decide to go with Anaconda you'll have at least two options to install plotly Anaconda Prompt
In addition,
Plotly Express is a terse, consistent, high-level API for creating figures. New to Plotly? Plotly is a free and open-source graphing library for Python.