Skip to content

Failure to start kernel due to failures related to win32api module

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

Python kernels can fail to start due to errors related to the Win32api module.

Recommended solution

Please re-install pywin32 as follows:

python -m pip install pywin32 # if using a non-conda environment
conda install -n <env name> pywin32 --force-reinstall # if using a conda environment

If you encounter any problems when upgrading (eg, "module not found" errors or similar), you should execute: python Scripts/pywin32_postinstall.py -install

Clone this wiki locally