I’m in anaconda latest.
Let’s say in cell 1 I do
import sys
!{sys.executable} -m pip install schemdraw
And in cell 2 I do
import sys
!{sys.executable} -m pip uninstall schemdraw
The kernel locks in busy because it’s waiting on user input at cli. AFAIK there is no way to pass keyboard input to the interpreter. Obviously in the case of pip uninstall can simply use -y, but is there a general strategy for situations that require user input?
Thanks so much
Joe