Skip to content Skip to sidebar Skip to footer

Attributeerror: Module 'numpy' Has No Attribute 'testing'

Last week I was able to run programs in Python 3.7.2 just fine. This morning I come in, run the same program and get error AttributeError: module 'numpy' has no attribute 'testing'

Solution 1:

run an additional import code, example:

import np.testing as npt
npt.assert_array_almost_equal(answer1, answer2 )

Post a Comment for "Attributeerror: Module 'numpy' Has No Attribute 'testing'"