question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

plotly.plotly import error message

See original GitHub issue

Should have caught this before RC1, sorry… This message:

image

I think should provide a little more context and say something like:

The plotly.plotly module is deprecated.
To create figures using the Chart Studio service, please install the chart-studio package and use the chart_studio.plotly module instead. 
To create and display figures locally, please use the plotly.offline module which is based on the new version 4 rendering framework.

Basically give people more information and a stronger hint about using offline (which is arguably the smallest change to their code that lets them get on with their day)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:7
  • Comments:25 (7 by maintainers)

github_iconTop GitHub Comments

22reactions
JobCollinscommented, Jul 29, 2019

@anki-code here is what worked for me: Downgraded from the latest plotly version pip install plotly==3.10.0

6reactions
jonmmeasecommented, Jul 18, 2019

Hi @JobCollins, when using plotly version 4 (released two days ago) and error message here is the expected behavior. See https://plot.ly/python/v4-migration/ for the version 4 migration guide, or downgrade your plotly version to 3.10.

This issue is concerned with adding more information to the error message.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I fix a deprecated module for plotly.plotly
I receive the following import error: The plotly.plotly module is deprecated, please install the chart-studio package and use the chart_studio.
Read more >
Module Not Found Error for plotly - Plotly Python
Hi guys, I am getting Module not found error even though i install plotly and one more thing same thing happen with cufflinks....
Read more >
Solution: ImportError: The plotly.plotly module is deprecated
i am typing !pip install chart_studio but it s not working. This is the eror message. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, ...
Read more >
How to Fix: No module named plotly - Statology
This error occurs when Python does not detect the Plotly library in your current environment. This tutorial shares the exact steps you can...
Read more >
How to fix plotly Module Not Found Error - YouTube
Hello there. in this video, we go ahead and fix the plotly module not found error in Jupyter notebook.Interested in learning the basics...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found