Identify the interpreter the kernel actually runs.

Check the same import in that interpreter directly.

Install the needed packages into the kernel interpreter.

Register or reselect the kernel.

Restart the kernel and re-run the import cell.