How to Fix: No module named plotly

In this article, we are going to see how to fix the no module error of plotly. This type of error is seen when we don’t have a particular module installed in our Python environment. In this tutorial, we will try to reproduce the error and solve it using screenshots.

Example:

Solution: 

It can be done with pip commands, pip is used to install an external package in Python.

Command:

pip install plotly

It might take some time to install depending on your internet speed. 

Now we can successfully import Plotly. 

check if the installation is done or not