I am just trying to convert a list to a 1D array like so:
import numpy as np
print np.array([2, 3, 4])
But I get the following error:
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'
I tried reinstalling numpy because that seems to have worked for others, but this does not fix the problem.