When the IDE is forcibly terminated while running python on IntelliJ IDEA (PyCharm)
IOError IOError: [Errno 32] Broken pipe
There are times when it doesn't go either way.
If that happens, kill the process below
$ lsof -i :41000
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
python2.7 63223 hrs 10u IPv4 0xf141521f3632fd2b 0t0 TCP localhost:41000 (LISTEN)
$ kill -9 63223
I will specify the port you are using as appropriate.
You can also find it with ps aux | grep python
, but it's probably easier to see the port used.
Recommended Posts