python error: ModuleNotFoundError: No module named 'plotly'
Today, when I was learning matplotlib, I needed to use the plotly.express package. I encountered the problem shown above. Based on the information collected on the Internet, I summarized the following solutions:
①pip install plotly It may be that plotly is not installed.
②Click files in pycharm to find settings
, then find the + sign in the red box in the python interpreter.
Click the + sign and enter ploty and add it.
If you find that it still doesn't work and you still get an error, try: pip install pandas.
It may be because pandas is not installed!