I\'m running Ubuntu 18.10 and Python 3.6, and have been using this laptop and common Python libraries (numpy, scipy, matplotlib) without any issue for several months now. I used
Thanks to AidanGawronski, the problem was fixed. I went to a Github page for the error and for me, it turned out that I had multiple redundant instances of numpy installed, so I just kept using
sudo pip3 uninstall numpy
then
pip3 list
to uninstall and check if I had finally uninstalled all instances of numpy. Once I had gotten rid of all of them, I used
sudo -E pip3 install --upgrade numpy
and it fixed the issue.