Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community
SOLVED

Notebooks error while installing msticpy package

Brass Contributor

hi, I'm trying to get started with notebooks by using one of the default ones provided in Sentinel. But, when I was trying to execute, I'm continuously hitting with the below error, not sure if I'm missing anything, can anyone help me out here? 

 

The package 'msticpy' is not installed or has an incorrect version
 
And I'm trying to install PowerShell kernel as per the steps mentioned in this article, but getting attached err in the terminal, there might be some silly mistake I'm doing, but unable to find what it is...
 

Any help would be appreciated.

5 Replies

@printscreen Have you gone through all the steps outlines in the "A Getting Started Guide For Azure Sentinel ML Notebooks" notebook?  It has a lot of configuration steps that, if missed, may be causing an issue.

@printscreen It seems msticpy package is missing. Please run the either of the below two commands to install msticpy library and then execute your rest commands.

pip install msticpy

 or 

pip install git+https://github.com/microsoft/msticpy

 

 

@printscreen 

Use this to install the correct version of msticpy :

 

pip install git+https://github.com/microsoft/msticpy@v0.8.0

 

@ESPANETYANN @AnuragSrivastava @Gary Bushey Thanks for your response. I was able to install msticpy.

 

DO you have any idea about using Powershell kernel in Notebooks, I'm following this article and reached up to this below step where I got stuck with the below error, if you have any idea about this, that would be appreciated.

 

printscreen_0-1612174807677.png

 

dotnet tool install -g --add-source "https://dotnet.myget.org/F/dotnet-try/api/v3/index.json" Microsoft.dotnet-interactive

 

 

best response confirmed by printscreen (Brass Contributor)
Solution

@printscreen You are getting the error because the feed ("https://dotnet.myget.org/F/dotnet-try/api/v3/index.json") doesn't exist.

 

Please try installing with the below command:

dotnet tool install --global Microsoft.dotnet-interactive --version 1.0.155302

1 best response

Accepted Solutions
best response confirmed by printscreen (Brass Contributor)
Solution

@printscreen You are getting the error because the feed ("https://dotnet.myget.org/F/dotnet-try/api/v3/index.json") doesn't exist.

 

Please try installing with the below command:

dotnet tool install --global Microsoft.dotnet-interactive --version 1.0.155302

View solution in original post