Skip to content

[Bug] Help Flag Returns Errors #4718

Open
@sleepless-swan

Description

@sleepless-swan

Describe the Bug

After cloning the repo and installing pip3 install ".[dev]", No errors whatsoever, and I can see the repo content. I tried to view the available commands using python -m detection_rules --help, however, I'm getting a bunch of errors instead like, which can be seen in the screenshot below.

I can see all those file installed and can view some of them. I followed all the installation steps on Github.

To Reproduce

  1. Open VSCode
  2. Open a PowerShell Terminal
  3. Clone repo using git clone https://github.com/elastic/detection-rules.git
  4. Move to folder cd .\detection-rules\
  5. Install using pip3 install ".[dev]"
  6. Run python -m detection_rules --help

Expected Behavior

Get a list of the available commands.

Screenshots

Image

Desktop - OS

Windows

Desktop - Version

Windows 10

Additional Context

  • Running VSCode 1.100.0
  • Python version 3.13.3
  • Running in a virtual environment in VSCode

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions