Problems with numpy importation -


i´m trying work numpy , scipy i´m unable. in begining had error, right if write import numpy np have:

traceback (most recent call last):   file "c:/python34/num.py", line 2, in <module>     import numpy   file "c:/python34\numpy.py", line 2, in <module>     = np.arange(10) attributeerror: 'module' object has no attribute 'arange' 

i had wroten a=... before. have idea? both numpy , scipy installed lib of python 3.4

it should work if import numpy np

>>> import numpy np >>> = np.arange(10) >>> print [0 1 2 3 4 5 6 7 8 9] 

Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -