ImportError: cannot import name ‘ensure_dir_exists’ December 30, 2023 by Tarik You need to update jupyter_core and jupyter_client manually from your terminal: conda update jupyter_core jupyter_client