What to do if you run python in IntelliJ and end with an error

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

What to do if you run python in IntelliJ and end with an error
What to do if you get an error when installing python with pyenv
What to do if you get an OpenSSL error when installing Python 2 with pyenv
What to do if you get an error when importing matplotlib in Python (Mac)
What to do if you get Swagger-codegen in python and Import Error: No module named
What to do if you couldn't send an email to Yahoo with Python.
[Python] What to do if an error occurs in pip (pyinstaller, pyautogui, etc.)
What to do if you get angry with "Value Error: unknown local: UTF-8" in python manage.py syncdb
What to do if the print command itself causes an error in Maya python
What to do if you get an Import Error when importing matplotlib with Jupyter
What to do if you can't install pyaudio with pip #Python
What to do if you get a minus zero in Python
What to do if you get an error when running "certbot renew" in CakePHP environment
What to do if you get an Undefined error when trying to use pip with pyenv
What to do if ipython and python start up with different versions
What to do if you get lost in file reference with FileNotFoundError
What to do if pyenv install does not proceed with an error
What to do if an error occurs when importing numpy with VScode
What to do if you can't install with pip in babun environment
What to do if you get an error when installing Dlib (Ubuntu)
What to do if you get an error saying c compiler cannot create executables in configure
What to do if pip --user returns an error in a virtual environment created with pyenv
What to do if you get a "No versions found" error in pipenv
[python] What to do when an error occurs in send_keys of headless chrome
You will be an engineer in 100 days --Day 35 --Python --What you can do with Python
What to do if a Unicode Encode Error occurs in Sublime Text Python
What to do if you get "Python not configured." Using PyDev in Eclipse
What to do if you get an error like'Qstring' has already been set to version 1 using mne python
What to do if PyInstaller3.5 gives an error in Python3.8 (TypeError: an integer is required (got type bytes))
What to do if you get an error when trying to send a message in tasks.loop () immediately after startup
What to do if you get an "unknown service" error from your gRPC server
What to do if ʻarguments [0] .scrollIntoView ();` fails in python selenium
What to do if the Microsoft Store opens even if you run python on Windows
What to do if you get `No kernel for language python found` in Hydrogen
What to do if you get "(35,'SSL connect error')" in pycurl (one of them)
What to do if you get "coverage unknown" in Coveralls
What to do if you can't sort files with subscripts
What to do if a 0xC0000005 error occurs in tf.train.start_queue_runners ()
How to install and use pyenv, what to do if you can't switch python versions
What to do if you can't log in as root
What to do if an error occurs when loading a python project created with poetry into VS Code
Python | What you can do with Python
What to do if you can't hit the arrow keys in the Python interactive console
What to do if you get the error RuntimeError: Python is not installed as a framework when trying to use matplitlib and pylab in Python 3.3
What to do if you get a Call with too many input arguments error at DoAndReturn in a golang test
What to do if you get the error "Error: opencv3: Does not support building both Python 2 and 3 wrappers" when installing openCV 3
What to do if you get a Cannot retrieve metalink for repository error in yum
[Beanstalk] What to do when an error occurs with import uuid
What to do if you get a UnicodeDecodeError with pip install
What to do if you can't build your project with Maven
What to do if you can't use the trash in Lubuntu 18.04.
What to do if you get a must override `get_config` error when trying to model.save in Keras
What to do if you get an error like dyld: mach-o, but built for simulator or dyld: attempt to run simulator program outside simulator (DYLD_ROOT_PATH not set) in golang
What to do if you can't find well with grep's -f option
What to do if you can't find PDO in Laravel or CakePHP
What to do if you get angry in TensorFlow v2 without attribute'app'
What to do if No Python documentation found for ... appears in pydoc
[Python] What to do when an error related to SSL authentication is returned
What to do if the server doesn't start with python manage.py runserver
[OSX] [pyenv] What to do when an SSL error occurs in pip
EC2 / Amazon Linux2: What to do if you get an "unable to execute'gcc': No such file or directory" error with pip install