Keras breaks Anaconda Prompt

后端 未结 9 1053
天命终不由人
天命终不由人 2020-12-09 06:25

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

<
9条回答
  •  北荒
    北荒 (楼主)
    2020-12-09 06:32

    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.)

提交回复
热议问题