Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plotly.express import raises ModuleNotFound in environment without pandas. #2125

Closed
CarlAndersson opened this issue Jan 24, 2020 · 1 comment · Fixed by #2132
Closed

plotly.express import raises ModuleNotFound in environment without pandas. #2125

CarlAndersson opened this issue Jan 24, 2020 · 1 comment · Fixed by #2132
Milestone

Comments

@CarlAndersson
Copy link
Contributor

Importing plotly.express when pandas is not available raises ModuleNotFoundError: No module named 'pandas', instead of the intended ImportError: Plotly express requires pandas to be installed.
This happens on from ._imshow import imshow.
Perhaps this import should be moved below the code that will output a more helpful message?

@emmanuelle
Copy link
Contributor

Thank you @CarlAndersson ! This should be fixed by #2132.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants