I am switching from tensorflow to keras on my Anaconda distribution and am having some problems with the latter. I install it through Anaconda prompt with the command
<
I had the same problem, took me 2 days to finally get things working and many re-installs. This message comes from the following file. %UserProfile%Anaconda3/etc/conda/activate.d/keras_activate.bat. There is some issue in the code written in this file which closes the Anaconda prompt every time. I dont know how to solve it, perhaps someone else can suggest something, but one way to still do some essential tasks on your prompt window is -> RIGHT CLICK ON THE ABOVE MENTIONED FILE AND SELECT EDIT -> WRITE YOUR ANACONDA PROMPT COMMAND AT THE TOP OF THE FILE. (It will execute and then close.)