Skip to content

Failure to start kernel due to failures related to pyzmq module

Don Jayamanne edited this page Mar 14, 2022 · 4 revisions

Python kernels can fail to start due to errors related to the pyzmq module. This module is used by the Jupyter kernel for all communications using the ZeroMQ protocol.

Recommended solution

  • Please consider installing the pyzmq module.
  • If they have already been installed, its possible it hasn't been installed correct, hence try the reinstall option as follows:
# if using a non-conda environment
python -m pip install ipykernel pyzmq -U --force-reinstall
# if using a conda environment
conda install -c anaconda ipykernel pyzmq --name <environment name> --update-deps --force-reinstall
Clone this wiki locally