I am unable to import numpy into Spyder probably because I installed anaconda on my D drive. In preferences, my global working directory is:
D:\Python Scripts
When I put import numpy as np as line 1 of my script in editor, I get NameError: name 'numpy' is not defined
In a search of my hard drive, I see many instances of numpy, but I'm unsure which one to copy and I'm unsure as to where I should paste it to make it available for import.
Note, on this setup, import math works with no problem. I would paste numpy in the same location as the math library except that math appears in multiple locations.
I looked at Tools > PYTHONPATH manager and I see that it is empty. Maybe this is key to the solution?
My question: where should my libraries reside? What should I put into PYTHONPATH manager?
I am using Spyder v2.3.9 on 64x Win10 Pro.
Thank you,
RS