I'm trying to use the numpy library in my Python project, but I'm getting an ImportError:
No module named 'numpy'
I've installed numpy using pip, so I'm not sure why this is happening. Here's what I've tried so far:
- I ran pip install numpy in my terminal, and it showed that the installation was successful.
- I'm using Python 3.8.
- I checked my code for any typos in the import statement, but it seems correct:
import numpy as np
Can someone help me troubleshoot this issue?
python code
import numpy as np
Additional Info:
- Operating System: Windows 11
- Python Version: 3.8.5
- IDE/Editor: Visual Studio Code