Skip to content

Error during Python analysis due to bug in python-inspector #6649

@mmurto

Description

@mmurto

I get the following error when analysing a Python project in Docker with the standard Dockerfile:

usage: python-inspector [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: python-inspector --help [cmd1 cmd2 ...]
   or: python-inspector --help-commands
   or: python-inspector cmd --help

error: option --python-version not recognized

This is apparently fixed by aboutcode-org/python-inspector#120, but the fix is not in the current v0.9.5 release of python-inspector - image with the latest commit of python-inspector works. The Dockerfile should probably be updated as soon as next version of python-inspector is released (FYI, @pombredanne 🤓).

Metadata

Metadata

Assignees

No one assigned

    Labels

    analyzerAbout the analyzer tooldockerAbout Docker topics

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions