Cannot install Jupyter C# kernel with the provided dockerfile - error Microsoft.PowerShell.Native not found
See original GitHub issueDescribe the bug
I’m trying to run my own jupyter notebook using MyBinder. I have copied your dockerfile and nuget.config over into my repo and am trying to start the container with mybinder. The installation progresses up until the point where the jupyter kernel gets installed, and then I get the following error message:
Error: An assembly specified in the application dependencies manifest (Microsoft.DotNet.Interactive.App.deps.json) was not found: package: ‘Microsoft.PowerShell.Native’, version: ‘7.0.0-rc.1’ path: ‘runtimes/linux-x64/native/libmi.so’
My mybinder url is: https://mybinder.org/v2/gh/mdfarragher/GLC0220/master?filepath=%2Fblob%2Fmaster%2FRegression%2FTaxiFarePrediction%2FTaxiFarePrediction.ipynb
And my repo is here: https://github.com/mdfarragher/GLC0220
Did this error occur while using dotnet interactive
?
- .NET Jupyter Notebook
Screenshots
Please complete the following:
- OS
- Windows 10
- macOS
- Linux (Please specify distro)
- iOS
- Android
- Browser
- Chrome
- Edge (the new one)
- Safari
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top GitHub Comments
I can confirm it’s fixed. I just added the version flag to my dockerfile and everything works perfectly now. Thanks @brettfo!
Looks like the mybinder cache has been updated, so it should work now.