I was getting started with MatPlotLib, and I was trying to print out the version number.
Here is my code:
import matplotlib
print(matplotlib.__version_)
But, I get an error when I run it:
Traceback (most recent call last):
File "c:/Users/Atharv 2020/Pyfiles/matplotlib.py", line 1, in <module>
import matplotlib
File "c:\Users\Atharv 2020\Pyfiles\matplotlib.py", line 2, in <module>
print(matplotlib.__version_)
AttributeError: partially initialized module 'matplotlib' has no attribute '__version_' (most likely due to a circular import)
Can you help me?