-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
ImportError: cannot import name 'rcParams' #13407
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
Comments
Please don't name any script you want to run by the same name as a package you have installed. That is, don't call your script |
Still I got same error: Traceback (most recent call last): |
Yes you have added a different script now, but the initial |
It works... Thanx !! : ) |
Traceback (most recent call last):
File "/home/ewebcore/Desktop/numpy.py", line 18, in
from matplotlib import pyplot as plt
File "/usr/lib/python3/dist-packages/matplotlib/init.py", line 123, in
from . import cbook
File "/usr/lib/python3/dist-packages/matplotlib/cbook/init.py", line 36, in
import numpy as np
File "/home/ewebcore/Desktop/numpy.py", line 18, in
from matplotlib import pyplot as plt
File "/usr/lib/python3/dist-packages/matplotlib/pyplot.py", line 32, in
import matplotlib.colorbar
File "/usr/lib/python3/dist-packages/matplotlib/colorbar.py", line 32, in
import matplotlib.artist as martist
File "/usr/lib/python3/dist-packages/matplotlib/artist.py", line 15, in
from . import cbook, docstring, rcParams
ImportError: cannot import name 'rcParams'
Give me solution for above error
The text was updated successfully, but these errors were encountered: