I tried to
import numpy but got a
no module named numpy this error only appears to occur in VS code, because I tried
import numpy on
spyder and spyder did not return any error, so that led me to believe my configuration for my python interpreter was was wrong.
things I’ve tried:
- uninstalling and reinstalling anaconda
- checking if
matplotlibwas installed on my computer already, which it was
- uninstalling and reinstalling
matplotlibjust in case.
anaconda3is located in
- Path in my
- The current python interpreter on VS code is
Python 3.8.8 (base: conda). my python version is 3.8.2 and