I am trying to uninstall my current version of keras and install an older version using:
!pip uninstall keras
!pip install keras==2.1.2
The return I get is :
Uninstalling Keras-2.1.2:
Would remove:
/home/nbuser/anaconda3_501/lib/python3.6/site-packages/Keras-2.1.2.dist-info/*
/home/nbuser/anaconda3_501/lib/python3.6/site-packages/keras/*
Proceed (y/n)?
Could I please get help with how to select yes?
You can't interact with shell commands after you launch them so you have to either pass the --yes flag:
!pip install keras==2.1.2 --yes
or you can execute your command outside of ipython (jupyter).
On cent os I often must use
yes | bash cmd
https://www.computerhope.com/unix/yes.htm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With