Skip to content

Not able to reproduce results using benchmark #67

Closed

Description

@DeepaliBhanage

Hello,
I am trying to run a benchmark file for a spell as well as a drain but getting error as " ImportError: cannot import name 'Spell' from 'logparser' (C:\Users\Dell\anaconda3\lib\site-packages\logparser_init_.py)
"
Please guide me how to handle this error. I have created an environment as said in the instructions.

Activity

  1. PinjiaHe commented on Mar 22, 2021

    @PinjiaHe
    Member

    Thanks for your interest in our project.

    It is possible that you didn't put the parser files in the right path.

    You could also take a look at the doc. to check the dependencies: https://logparser.readthedocs.io/en/latest/installation/dependency.html

  2. DeepaliBhanage commented on Mar 22, 2021

    @DeepaliBhanage
    Author
  3. PinjiaHe commented on Mar 26, 2021

    @PinjiaHe
    Member

    Usually, that should work. After git clone the repo., run

    $cd /logparser/demo/
    $python Spell_demo.py
    

    If that doesn't work, you could try with Python 2.7, or use the docker images as mentioned in our document.

    Hope it helps.

  4. DeepaliBhanage commented on Mar 26, 2021

    @DeepaliBhanage
    Author

    Yes. It's working.....
    Thank you so much for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions