Skip to content Skip to sidebar Skip to footer

Proceed (y/n)? In Python

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

Solution 1:

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

Post a Comment for "Proceed (y/n)? In Python"