Can't install .NET Jupyter in WSL2 after installing .NET Core 5.0
See original GitHub issueDescribe 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
#!about
magic 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.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:15 (5 by maintainers)
Top Results From Across the Web
How to Install the Jupyter Notebook Server in WSL2
Copy the command from below these instructions; Paste the command into PowerShell; Press “Enter”. python -m pip install jupyter ...
Read more >Configuring Jupyter Notebook in Windows Subsystem ...
We are going to see how to: Install and configure a WSL2; Install and configure Windows Terminal; Install Miniconda and common libraries; Launch...
Read more >Configuring WSL2 for .NET Development
After installing the latest SDK using apt-get install follow below steps. Download script.
Read more >Why does the .NET jupyter installation fail?
I followed the link on the bottom, installed the framework, and after that ran dotnet interactive jupyter install again. It then failed again....
Read more >Tag: Windows Subsystem for Linux
It is the way! First, you must follow the instructions for installing .NET Core for Ubuntu 20.04 from the Microsoft Documentation: https://docs.microsoft.com/ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@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