When I try to install on Anaconda Navigator I get this error and I can't use it. Im using MacOS. How can I solve this error.
Asked
Active
Viewed 131 times
2 Answers
1
You need to understand what the error code trying to say
keras -> python[version=>'2.7,<2.8.0a0|>=3.5,<3.6.0.a.0|>=3.6,<3.7.0a0']
means that keras will works on 3 kind of python.
- Python 2.7 and lower than 2.8
- Pytonh greater equal than 3.5 and lower than 3.6
- Python greater equal than 3.6 but lower than 3.7
Since your python is python 3.8, it raises error. I suggest you to downgrade your python trough this guide : How to downgrade python from 3.7 to 3.6

Vinson Ciawandy
- 996
- 11
- 26
-
And don't be afraid to read the error message from your program since usually, the developer will include many information to help the user to debug the problem – Vinson Ciawandy Mar 14 '21 at 15:42
-
If my answer resolve your problem, don't forget to tag my answer as the acceptable solution :) – Vinson Ciawandy Mar 14 '21 at 15:44
-
What you said worked but when I import tensorflow and run on spyder it doesn't works. And it say "Restarting kernal". What should I do? – Saruhan Güngör Mar 14 '21 at 18:47
0
Create a new environment with the python version below 3.8, then install Keras on it

Theepag
- 301
- 2
- 16