I am following instructions to make a very simple neural network program, and I keep getting an error from my line to import NumPy.
import numpy as np
I always get the following error:
ModuleNotFoundError: No module named 'numpy'
When I use the Mac console and type import numpy
, it works fine.
When I am typing the import statement in PyCharm and type it slowly to see what intellisense suggests, it suggests "numbers" or "enum", but NumPy is not there.
When I use the Mac console, I can write import numpy
without any problems.
I checked the class-path and it appears to include the Anaconda folders, which is where NumPy is.
- Python version: 3.7.3
- NumPy version: 1.16.4
- macOS v10.14 (Mojave)