We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need get the blessings version but I have the following error:
import blessings blessings.version Traceback (most recent call last): File "", line 1, in AttributeError: 'module' object has no attribute 'version'
Thank you
The text was updated successfully, but these errors were encountered:
try blessings.__version__ it's a python convention
blessings.__version__
Sorry, something went wrong.
There isn't a convenient way right now, but let's leave this open as a reminder to add one in a future release.
import pkg_resources pkg_resources.get_distribution("blessings").version
Yes, that should work if blessings was installed by pip or maybe easy_install. Thanks, Jeff!
pip
easy_install
No branches or pull requests
I need get the blessings version but I have the following error:
Thank you
The text was updated successfully, but these errors were encountered: