Last active
February 27, 2019 20:54
-
-
Save justinmklam/8a1baa3cdfb336d79bd3252c69eddd46 to your computer and use it in GitHub Desktop.
Fix for error: ImportError: numpy.core.multiarray failed to import
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: https://github.com/tensorflow/tensorflow/issues/559 | |
# Check the current numpy version (and any error messages that come up) | |
python -c "import numpy;print numpy.__version__;print numpy.__file__"; | |
# Do this a few times until all versions of numpy are removed | |
pip uninstall numpy | |
# Reinstall numpy | |
pip install -U numpy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment