Closed londumas closed 3 years ago
There does not seem to be a version argument for the package.
import commpy commpy.__version__ --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-2-68df451740b3> in <module> ----> 1 commpy.__version__ AttributeError: module 'commpy' has no attribute '__version__'
python -m pip show scikit-commpy Name: scikit-commpy Version: 0.7.0
Your right, there is no such argument. I'm not familiar with the convention. Is the version argument a PEP-recommended thing?
Hi @londumas,
I just checked and the PEP396 seems to promote the following solution rather than the uses of __version__.
__version__
from importlib.metadata import version version('scikit-commpy')
There does not seem to be a version argument for the package.