-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
ImportError: cannot import name utils #402
Comments
@acer9997 thanks for reporting! what do you mean by install utils separately? |
Sorry - I'm out of sorts this morning! I had two different environments running and didn't realize what I was doing. The error is still appearing. I removed that other misleading comment. |
got it, thanks @acer9997 . I'm not sure what's going on here yet |
@acer9997 - do you think it could be conflicting with the package that you have installed called
Thanks again for reporting! |
@chriddyp - it could be. I uninstalled utils and tried importing plotly again, but got a different error that I don't think is related to Plot.ly and has been occurring when trying to import matplotlib in other situations:
|
Okay, I think that I've found something more consistent with this. If I import matplotlib before trying to import plotly, then the "cannot import name utils" error appears. If I restart the Python kernel and skip trying to load matplotlib, then the utils error does not appear. I'm using inotebook and have been trying to figure out why I've been getting the insecure string pickle error with matplotlib, which is why I was trampling on top of other libraries. |
Hi @actongorton, I'm going to close this issue for now since plotly.py has been largely rewritten over the last two years, but feel free to open a new issue if you're having similar problems with ploty.py version 3. Thanks! |
Not able to run Plot.ly because of error:
Traceback:
Requirements.txt:
The text was updated successfully, but these errors were encountered: