interactive: Can't install .NET Jupyter in WSL2 after installing .NET Core 5.0
Describe the bug
Please provide as much information as you can.
After installing .NET Components in Linux Ubuntu 20.04, I can’t proceed to install Jupyter interactive:
(base) max_t@maxtlaptop1:~$ dotnet interactive jupyter install
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found.
- The following frameworks were found:
5.0.0 at [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=3.1.0&arch=x64&rid=ubuntu.20.04-x64
(base) max_t@maxtlaptop1:~$
Please complete the following:
Which version of .NET Interactive are you using? There are a few ways to find this out:
- In a notebook, run the
#!aboutmagic command. - At the command line, run
dotnet interactive --version. - In VS Code, run "Report installed version for .NET Interactive` and copy the version number from the status popup.
Following .NET command didn’t work:
(base) max_t@maxtlaptop1:~$ dotnet interactive --versions
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found.
- The following frameworks were found:
5.0.0 at [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
- https://aka.ms/dotnet-core-applaunch?framework=Microsoft.AspNetCore.App&framework_version=3.1.0&arch=x64&rid=ubuntu.20.04-x64
(base) max_t@maxtlaptop1:~$
Strangely, the error is pointing to “framework_version=3.1.0”.
This other command works:
(base) max_t@maxtlaptop1:~$ dotnet --version
5.0.100
(base) max_t@maxtlaptop1:~$
Listing runtimes:
(base) max_t@maxtlaptop1:~$ dotnet --list-runtimes
Microsoft.AspNetCore.App 5.0.0 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.0 [/usr/share/dotnet/shared/Microsoft.NETCore.App]
(base) max_t@maxtlaptop1:~$
- OS
- [ X] Windows 10 - ver.2004 (OSBuild 20257.1)
- macOS
- [ X] Linux (Please specify distro) - Ubuntu 20.04
- iOS
- Android
- Browser
- Chrome
- Edge
- Firefox
- Safari
- Frontend
- Jupyter Notebook
- Jupyter Lab
- nteract
- Visual Studio Code
- Other (please specify)
Screenshots
If applicable, add screenshots to help explain your problem.

About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 15 (5 by maintainers)
@iSazonov,
the error finally is resolved after updating the “dotnet. interactive” component with the following command in WSL:
Then followed by the command that used to would failed at the end;
I updated PowerShell global ;
But when run jupyter notebook and use the $PSVersion it’s showing an older version that doesn’t exist in my system.
So my question is when can I expect the newer version of PowerShell to BE available for Notebook?
/cc @TylerLeonhardt
I think dotnet interactive only supports dotnet core 3.0 for now.
@MaximoTrinidad .NET Interactive carries its own version of PowerShell, which is why the discrepancy.
So, after looking around the repository, when can we expect “.NET Interactive Jupyter kernel” to be updated to support .NET Core 5.0? At least the PowerShell tool got updated to v7.1.0.