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.
thanks so much
I am not able to solve this error. Can you explain little briefly. where can i find the NUMPY.PY file.
numpy.py is a library for the Python programming language. Probably if you do a search you might know the location of the file.
U have named ur python file as numpy
That is u r facing this error.
That is what I wrote in the post
Excellent answer. tks
the place you have saed your working program ,there is a file with numpy.py , rename it
thanks
Still it is showing the same error
My problem is still not solved it still showing the same error can you please solve it .As soon as possible
I got no attribute error has numpy I don’t where is numpy.py file is please explain me
thanks bro i m facing the issue from the last three days ,thanku for the article
Thanks bro My problem was solved
I was struck at it from 1 week.
And now my problem is solved.
Thank you so much.