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
Currently trying to get the version of datatree interactively raises an AttributeError:
datatree
AttributeError
import datatree datatree.__version__
--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) Input In [2], in <cell line: 1>() ----> 1 datatree.__version__ AttributeError: module 'datatree' has no attribute '__version__'
That's weird because we do have code to set the version number in __init__.py.
__init__.py
The text was updated successfully, but these errors were encountered:
You have to reinstall the package usually.
Sorry, something went wrong.
To clarify, setuptools-scm and versioneer only set the version number on installation. This is likely your issue.
Thanks @djhoese. I just tried reinstalling locally (pip install -e .) and that didn't work though 😕
pip install -e .
Did you restart your jupyter kernel or whatever you are using? The error says "cell line" so I assume jupyter, spyder, or similar
Successfully merging a pull request may close this issue.
Currently trying to get the version of
datatree
interactively raises anAttributeError
:That's weird because we do have code to set the version number in
__init__.py
.The text was updated successfully, but these errors were encountered: