Forum Discussion

printscreen's avatar
printscreen
Brass Contributor
Jan 26, 2021
Solved

Notebooks error while installing msticpy package

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.

  • 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

5 Replies

  • ESPANETYANN's avatar
    ESPANETYANN
    Copper Contributor

    printscreen 

    Use this to install the correct version of msticpy :

     

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

     

    • printscreen's avatar
      printscreen
      Brass Contributor

      ESPANETYANN AnuragSrivastava GaryBushey 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.

       

       

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

       

       

      • AnuragSrivastava's avatar
        AnuragSrivastava
        Iron Contributor

        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

  • 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

     

     

  • GaryBushey's avatar
    GaryBushey
    Bronze Contributor

    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.

Resources