PowerShell kernel incompatible with Python 3.12 and above - Guidance for supported PowerShell notebook workflow needed #17303
Replies: 1 comment 3 replies
-
|
Please also see for reference: dotnet/interactive#4176 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I am attempting to follow the migration guidance from the dotnet/interactive deprecation notice (dotnet/interactive#4163), which recommends using the VS Code Jupyter extension for notebook scenarios.
To enable PowerShell support, I installed the PowerShell kernel based on:
https://github.com/vors/jupyter-powershell
However, when attempting to start the kernel using a current Python runtime (3.14.3), I receive the following error:
The kernel failed to start due to the missing module 'imghdr'.I can see that the imghdr module was removed in Python 3.12:
https://docs.python.org/3/library/imghdr.html
This suggests that the current PowerShell kernel implementation is not compatible with supported Python runtimes.
Given that:
dotnet/interactive is being deprecated
The recommended replacement path points toward the Jupyter ecosystem
PowerShell support appears dependent on a kernel incompatible with modern Python
Could you please clarify:
Is there an officially supported PowerShell kernel for use with VS Code Jupyter?
Is jupyter-powershell considered production-ready and actively maintained?
What is the recommended path for using PowerShell in notebooks moving forward?
Is Python 3.11 currently the only viable runtime for PowerShell kernel scenarios?
I am specifically looking for guidance suitable for enterprise environments where:
Runtimes must be supported and maintained
Dependency chains must be compatible with current platform versions
Long-term servicing considerations are required
Thank you for any clarification.
Beta Was this translation helpful? Give feedback.
All reactions