Skip to content

Module 'distro' has no '__version__' member #265

@AdnanHodzic

Description

@AdnanHodzic

As it's case with most Python packages, if you run i.e:

print("psutil version:", psutil.__version__)

you'll end up getting package version, i.e: psutil: 5.7.2

However, if I do the same for distro package, i.e:

print("distro:", distro.__version__)

I'll immediately get Module 'distro' has no '__version__' member

Would it be possible to add this functionality in one of the future versions instead of having to resort to hacks/workarounds in order to print distro package version as part of a Python app.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions