You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
As it's case with most Python packages, if you run i.e:
you'll end up getting package version, i.e:
psutil: 5.7.2
However, if I do the same for distro package, i.e:
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!
The text was updated successfully, but these errors were encountered: