Skip to content

Can't get the cosmos client to work - any ideas? #14

@markl11

Description

@markl11

When I try to import the Cosmos DB client I get the following error:

"from azure.cosmos import CosmosClient, PartitionKey, exceptions

ImportError: cannot import name 'CosmosClient' from 'azure.cosmos' (C:\Users\markl\AppData\Local\Programs\Python\Python37-32\lib\site-packages\azure\cosmos_init_.py)"

I have installed azure-cosmos, I am running Python 3.7.

Any help much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions