question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot install Jupyter C# kernel with the provided dockerfile - error Microsoft.PowerShell.Native not found

See original GitHub issue

Describe 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

Annotation 2020-02-03 111409

Please complete the following:

  • OS
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge (the new one)
    • Safari

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mdfarraghercommented, Feb 4, 2020

I can confirm it’s fixed. I just added the version flag to my dockerfile and everything works perfectly now. Thanks @brettfo!

0reactions
brettfocommented, Feb 4, 2020

Looks like the mybinder cache has been updated, so it should work now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

jupyter-client has to be installed but “jupyter kernelspec
Running this command from RStudio will show this error. When you run this command from command line/ terminal then everything will be fine....
Read more >
Create a Dev Container
Try it with Dev Containers: Reopen in Container. If you see an error, select Open Folder Locally in the dialog that appears. After...
Read more >
Remote Python Development in Visual Studio Code
To get started, first ensure that you can ssh to the remote machine from the command line, and then run Remote-SSH: New Window...
Read more >
.NET Interactive is here! | .NET Notebooks Preview 2 ...
Open the Anaconda Prompt (Windows) or Terminal (macOS) and verify that Jupyter is installed and present on the path: > jupyter kernelspec list ......
Read more >
Public Preview of PowerShell Support in Jupyter Notebooks
NOTE: We want to be super clear. This is an early preview which has the main goal of getting early feedback from real...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found