This post was flagged by the community and is temporarily hidden.
You have shown a crash in NumPy, not Matplotlib. We cannot help with that.
you are not correct
in the listing above
I have run either
import numpy as np
or
import matplotlib.pyplot as plt
to generate 2 crash reports as above ( a single report for Matplotlib follows below)
Problem Caption:
Problem Event Name: APPCRASH
Application name: python.exe
Application version: 3.8.7150.1013
Application time signature: 5fe0df5a
Error module name: _multiarray_umath.cp38-win32.pyd
Version of the module with the error: 0.0.0.0
Time signature of the module with the error: 63dfe4cf
Exception code: c000001d
Exception offset: 000269c9
Operating system version: 6.1.7601.2.1.0.256.48
Regional Settings ID: 1045
Additional information 1: 0a9e
Additional information 2: 0a9e372d3b4ad19135b953a78882e789
Additional information 3: 0a9e
Additional information 4: 0a9e372d3b4ad19135b953a78882e789
thank you for your reply
darius
Matplotlib imports NumPy, so if NumPy is broken, then so will Matplotlib.
And this, from your second report, is still part of NumPy.
thank you my dear friend.
Could you explain me, so why should I import numpy
if already “to be imported” by Matplotlib
I am newbie with Python.
All I need is to run and test the code from
if Joseph runs the following code
Python program to read .csv file
import numpy as np
import matplotlib.pyplot as plt
import csv
– does it mean 2 instances of numpy get imported , one as numpy and the second as np ?
Should I test WinPython to avoid problems with numpy ?
thank you
darius
I cannot help you learn Python. This Discourse is for Matplotlib-specific questions, not general Python help. There are many tutorials on the Internet teaching Python.