Is it because of a version conflict or incompatibility issue between numpy and scipy libraries, or other numpy-related packages that cause this error.
pip install --upgrade numpy scipy