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

php - Invalid Cofiguration - yii\base\InvalidConfigException - Yii2 -

How to show in django cms breadcrumbs full path? -

ruby on rails - npm error: tunneling socket could not be established, cause=connect ETIMEDOUT -