Missing `__version__` attribute
See original GitHub issueWhich version of the SDK was used? Please provide the output of pip freeze
.
...
azure-common==1.1.16
azure-storage-blob==1.4.0
azure-storage-common==1.4.0
azure-storage-file==1.4.0
azure-storage-queue==1.4.0
...
What problem was encountered?
I cannot retrieve the module version because version is missing in both azure
and azure.storage.blob
(see below). I thought that was a pretty standard way to do it see PEP 396 and this issue
>>> import azure
>>> azure.__version__
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: module 'azure' has no attribute '__version__'
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Error Log - Errors and Warnings - Kodi Community Forum
CSettingsManager : missing version attribute ... can safely ignore it. if it really bugs you can add a version attribute to the first...
Read more >Required attribute 'version' missing from XML declaration
The version attribute for an XML document literal is missing. Error ID: BC31153. To correct this error. Add the version attribute to the...
Read more >Mandatory Manifest-Version attribute missing - Stack Overflow
I added Manifest-Version: 1.0 to the empty MAINFEST. ... Some jars are missing the MANIFEST-INF folder and MANIFEST.MF file inside it.
Read more >Fix minor typo within advancedsettings.xml - OSMC Forums
2021-12-27 12:53:56.017 T:7722 WARNING <CSettingsManager>: missing version attribute. And indeed it should read
Read more >Osmosis: Node does not have a version attribute as OSM 0.6 ...
Osmosis: Node does not have a version attribute as OSM 0.6 are required to have. ... The osmconvert tool can be used to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We do not have plan to add
version
for the azure package. That’s a meta-package used to install more libraries. Also, on Python 3 the fileazure/__init__.py
doesn’t even exist, I have no opportunity to add this information. The future of theazure
package is in discussion, right now the recommendation is to depend on the set of services you need and notazure
I understand
azure
is not a real package but since I canpip install azure==4.0.0
andpip freeze | grep azure
—>azure==4.0.0
, I’d expect it to have a__version__
attribute.