Pydev debugger: process is connecting 13300
Connected to the pydev debugger (build 192.7142.56)
The 2020-03-26 22:39:46. 297431: I tensorflow/stream_executor/platform/default/dso_loader cc: 44] Successfully the opened the dynamic library cudart64_100. DLL
Traceback (the most recent call last) :
File "_pydevd_bundle \ pydevd_cython_win32_37_64 pyx", line 945, in _pydevd_bundle. Pydevd_cython_win32_37_64. PyDBFrame. Trace_dispatch
File "_pydevd_bundle \ pydevd_cython_win32_37_64 pyx", line 279, in _pydevd_bundle. Pydevd_cython_win32_37_64. PyDBFrame. Do_wait_suspend
The File "E: \ Pycharm \ Pycharm Community Edition 2019.1.3 \ helpers \ pydev \ pydevd py", line 1080, in do_wait_suspend
Self. _do_wait_suspend (thread and frame, the event, arg, suspend_type, from_this_thread)
The File "E: \ Pycharm \ Pycharm Community Edition 2019.1.3 \ helpers \ pydev \ pydevd py", line 1087, in _do_wait_suspend
Self. _activate_mpl_if_needed ()
The File "E: \ Pycharm \ Pycharm Community Edition 2019.1.3 \ helpers \ pydev \ pydevd py", line 665, in _activate_mpl_if_needed
Activate_function ()
The File "E: \ Pycharm \ Pycharm Community Edition 2019.1.3 \ helpers \ pydev \ pydev_ipython \ matplotlibtools py", line 165, in activate_pyplot
Pyplot. Show. _needmain=False
AttributeError: module 'matplotlib. Pyplot' has no attribute 'show'
CodePudding user response:
Haven't met.Suggest the first simple example, confirm the matplotlib is properly installed.
The import pandas as pd
The import matplotlib. Pyplot as PLT
Df=pd DataFrame ({' Day ': [1, 2, 3],' Revenue: [100200320]})
Df. The plot ()
PLT. The show ()
If this is wrong, it is recommended that the uninstall reshipment matplotlib
CodePudding user response:
Problem has been solved, but thank you for your answer!