If you receive the error “module numpy has no attribute array” when you run a python code then you would probably have a file “NUMPY.PY” or the .py file you are trying to compile and run would be named “NUMPY.PY“. Rename “NYMPY.PY” and it should work fine.
raja babu jha
thanks so much
ami
I am not able to solve this error. Can you explain little briefly. where can i find the NUMPY.PY file.
admin
numpy.py is a library for the Python programming language. Probably if you do a search you might know the location of the file.
JAVAID AHMAD WANI
U have named ur python file as numpy
That is u r facing this error.
admin
That is what I wrote in the post
John
Excellent answer. tks
jim
the place you have saed your working program ,there is a file with numpy.py , rename it
maneg
thanks
Taranpreet koir
Still it is showing the same error
Shruti Bhardwaj
My problem is still not solved it still showing the same error can you please solve it .As soon as possible
Suraj Patil
I got no attribute error has numpy I don’t where is numpy.py file is please explain me
Tanishq Tripathi
thanks bro i m facing the issue from the last three days ,thanku for the article
Phani
Thanks bro My problem was solved
I was struck at it from 1 week.
And now my problem is solved.
Thank you so much.