-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
NameError: name '_converter' is not defined #19810
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
This is caused by the lack of matplotlib:
The error should be more useful. |
So this is a duplicate of #19340, and the problem is that we cannot reproduce it. It clearly shows up for multiple people, but we need to diagnose why this happens. Can you run the code in #19340 (comment) and check if that fails? |
Sure:
|
Ah, I actually can reproduce this, and I suppose this is due to pandas/pandas/plotting/_core.py Lines 44 to 50 in f8dfcfb
where we import Yes, this should certainly be solved. |
I am also got the same error when learn the google pandas course.
|
Experienced this in Jupyter Notebook. Installed |
@megaserg to reliably check imports with python you always need to restart the python process. |
@tonyshare I met the same question, how do you solve? |
@Ako520 By installing matplotlib. This will be fixed in the next version of pandas. |
Solution is to restart the kernel or restarting jupyter server |
restarting kernel does not work for me |
Uh oh!
There was an error while loading. Please reload this page.
Code Sample, a copy-pastable example if possible
Problem description
Output of
pd.show_versions()
INSTALLED VERSIONS
commit: None
python: 3.6.4.final.0
python-bits: 64
OS: Linux
OS-release: 4.14.0-3-amd64
machine: x86_64
processor:
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8
pandas: 0.22.0
pytest: None
pip: 9.0.1
setuptools: 38.5.1
Cython: None
numpy: 1.14.1
scipy: 0.19.1
pyarrow: None
xarray: None
IPython: 6.2.1
sphinx: 1.6.6
patsy: None
dateutil: 2.6.1
pytz: 2018.3
blosc: None
bottleneck: None
tables: None
numexpr: None
feather: None
matplotlib: None
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: 0.999999999
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: 2.10
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
The text was updated successfully, but these errors were encountered: