Ich bin wie so eine Liste zu einer 1D-Array zu konvertieren versuchen:Mit numpy ‚Modul‘ Objekt hat kein Attribut ‚Array‘
import numpy as np
print np.array([2, 3, 4])
Aber ich erhalte die folgenden Fehler:
Traceback (most recent call last):
File "numpy.py", line 11, in <module>
test_run()
File "numpy.py", line 8, in test_run
print np.array([2, 3, 4])
AttributeError: 'module' object has no attribute 'array'
Ich habe versucht, numpy neu zu installieren, weil das für andere funktioniert zu haben scheint, aber das behebt das Problem nicht.