from keras.utils import np_utils ModuleNotFoundError: No module named 'keras'的解决

The following error occurs when running the program:

Go to Anaconda Prompt to see if keras is installed successfully:

After activating the tensorflow environment, after entering python, there is no error in importing tensorflow. When importing keras, it prompts no module named 'keras', then it is time to install keras.

Enter the tensorflow environment, enter pip install keras, and the installation is successful.

Error resolved.

——2019.10.30

Related Posts