Can't install dotnet interactive on WSL (Ubuntu 20.04)
See original GitHub issueDescribe the bug
Upon trying to install dotnet interactive
on Ubuntu 20.04 WSL using the tutorial I encounter problems.
$ python --version
Python 3.8.2
$ dotnet --version
3.1.402
$ jupyter --version
jupyter core : 4.6.3
jupyter-notebook : 6.1.4
qtconsole : 4.7.7
ipython : 7.18.1
ipykernel : 5.3.4
jupyter client : 6.1.7
jupyter lab : 2.2.7
nbconvert : 5.6.1
ipywidgets : 7.5.1
nbformat : 5.0.7
traitlets : 5.0.4
if I run dotnet tool install -g --add-source "https://dotnet.myget.org/F/dotnet-try/api/v3/index.json" Microsoft.dotnet-interactive
I get an error saying it’s already installed:
Tool ‘microsoft.dotnet-interactive’ is already installed.
but if I do dotnet tool list
I get an empty list:
$ dotnet tool list
Package Id Version Commands Manifest
---------------------------------------------------
by trying to use dotnet interactive
:
Could not execute because the specified command or file was not found.
Possible reasons for this include:
* You misspelled a built-in dotnet command.
* You intended to execute a .NET Core program, but dotnet-interactive does not exist.
* You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
/mnt/c/Users/lucas/.dotnet/tools
is present on $PATH
. This happens even after
- I close all WSL sessions
- I run
Restart-Service LxssManager
on an admin PowerShell window
Please complete the following:
Which version of .NET Interactive are you using? Impossible to determine as the problem is within the installation
- OS
- Windows 10 (2004 OS Build 19041.508)
- macOS
- Ubuntu 20.04 WSL
- iOS
- Android
- Browser
- Chrome
- Edge
- Firefox
- Safari
- Frontend
- Jupyter Notebook
- Jupyter Lab
- nteract
- Visual Studio Code
- Other (please specify)
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (1 by maintainers)
Top Results From Across the Web
installing dotnet6 on ubuntu 22.04 WSL2 - installed but not ...
This is how I got dotnet6 to work,. I discovered that previously I had installed dotnet 3.1 and dotnet 5 using the script...
Read more >Installing PowerShell 7 in Ubuntu 20.04
First, you must follow the instructions for installing .NET Core for Ubuntu 20.04 from the Microsoft Documentation: ...
Read more >Ubuntu 22.04 dotnet can't find dotnet sdks
I recently updated my Ubuntu distro to 22.04 from 20 and now it seems I cannot install dotnet sdks correctly. I have dotnet...
Read more >Developing in the Windows Subsystem for Linux with ...
The Visual Studio Code WSL extension lets you use the Windows Subsystem for Linux (WSL) as your full-time development environment right from VS...
Read more >[Guide] Hass.IO on Windows 10 WSL2 (No more VMs!)
Open the Microsoft Store and install Ubuntu, launch it and let it install, it will prompt to set a username and password. Run...
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
why
\\wsl$\Ubuntu-20.04\
is needed? And you are running this append command on the host? I don’t think editing the PATH on the host will reflect to inside WSL shell session.Could you run
export PATH=$PATH:/home/mundim/.dotnet/tools
inside the WSL?Do you have
/home/mundim/.dotnet/tools
on the path of powershell?