azure-mgmt-digitaltwins failing basic import
See original GitHub issueinstall the package -> import * from azure.mgmt.digitaltwins
INFO:root:Importing all modules from namespace [azure.mgmt.digitaltwins] to verify dependency
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vsts/work/1/s/sdk/digitaltwins/azure-mgmt-digitaltwins/.tox/depends/lib/python2.7/site-packages/azure/mgmt/digitaltwins/__init__.py", line 13, in <module>
from ._azure_digital_twins_management_client import AzureDigitalTwinsManagementClient
File "/home/vsts/work/1/s/sdk/digitaltwins/azure-mgmt-digitaltwins/.tox/depends/lib/python2.7/site-packages/azure/mgmt/digitaltwins/_azure_digital_twins_management_client.py", line 16, in <module>
from .operations import DigitalTwinsOperations
File "/home/vsts/work/1/s/sdk/digitaltwins/azure-mgmt-digitaltwins/.tox/depends/lib/python2.7/site-packages/azure/mgmt/digitaltwins/operations/__init__.py", line 12, in <module>
from ._digital_twins_operations import DigitalTwinsOperations
File "/home/vsts/work/1/s/sdk/digitaltwins/azure-mgmt-digitaltwins/.tox/depends/lib/python2.7/site-packages/azure/mgmt/digitaltwins/operations/_digital_twins_operations.py", line 17, in <module>
from .. import models
File "/home/vsts/work/1/s/sdk/digitaltwins/azure-mgmt-digitaltwins/.tox/depends/lib/python2.7/site-packages/azure/mgmt/digitaltwins/models/__init__.py", line 30, in <module>
from ._models import CheckNameRequest
File "/home/vsts/work/1/s/sdk/digitaltwins/azure-mgmt-digitaltwins/.tox/depends/lib/python2.7/site-packages/azure/mgmt/digitaltwins/models/_models.py", line 88, in <module>
class DigitalTwinsResource(Model):
File "/home/vsts/work/1/s/sdk/digitaltwins/azure-mgmt-digitaltwins/.tox/depends/lib/python2.7/site-packages/azure/mgmt/digitaltwins/models/_models.py", line 128, in DigitalTwinsResource
sku = DigitalTwinsSkuInfo()
NameError: name 'DigitalTwinsSkuInfo' is not defined
I will note that while the above error is from the py27 env. The failure occurred on all platforms.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
azure-mgmt-digitaltwins - PyPI
This is the Microsoft Azure Digital Twins Management Client Library. This package has been tested with Python 3.6+. For a more complete view...
Read more >Troubleshoot Azure Digital Twins: Error 403 (Forbidden)
Learn how to diagnose and resolve error 403 (Forbidden) failed service requests from Azure Digital Twins.
Read more >Manage digital twins - Azure - Microsoft Learn
See how to retrieve, update, and delete individual twins and relationships.
Read more >Azure Digital Twins APIs and SDKs - Microsoft Learn
The data plane APIs are Azure Digital Twins APIs, and are used for data management operations like managing models, twins, and the graph....
Read more >Manage the twin graph and relationships - Azure Digital Twins
List relationships. List properties of a single relationship. You can always deserialize relationship data to a type of your choice. For basic access...
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

Closing this issue since new digitaltwins has been released. CC to @msyyc
Hi @scbedd , @annatisch ,
The master branch code for digitaltwins is old and there are errors. Digitialtwins is currently released as Track1, so the latest code is in release/v3 branch.
I tend to delete the digitaltwins code in master branch to avoid this confusing. And adding @msyyc to know this.