May-26-2019, 06:19 AM

>>> import numpy as np

>>> np.__file__

'C:\\Adrian\\Python37\\Lib\\numpy-1.11.2\\numpy\\__init__.py'

>>> list_int = [8, 3, 34, 111]

>>> a_int = np.array(list_int)

Traceback (most recent call last):

File "<pyshell#3>", line 1, in <module>

a_int = np.array(list_int)

AttributeError: module 'numpy' has no attribute 'array'

>>> np.__file__

'C:\\Adrian\\Python37\\Lib\\numpy-1.11.2\\numpy\\__init__.py'

>>> list_int = [8, 3, 34, 111]

>>> a_int = np.array(list_int)

Traceback (most recent call last):

File "<pyshell#3>", line 1, in <module>

a_int = np.array(list_int)

AttributeError: module 'numpy' has no attribute 'array'