Skip to content

Commit 9d28e95

Browse files
authored
Merge pull request #17 from v-xuto/update_cosmos
Remove --pre flag
2 parents bb709cf + 453d03a commit 9d28e95

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

README.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Azure Cosmos DB is Microsoft’s globally distributed multi-model database servi
2424
* [Visual Studio Code](https://code.visualstudio.com/)
2525
* [Python extention for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-python.python#overview)
2626
* [Python 3.6+](https://www.python.org/downloads/) with \<install location\>\Python36 and \<install location>\Python36\Scripts added to your PATH.
27-
* [Azure Cosmos DB Python SDK](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/cosmos/azure-cosmos) - Install with this command: `pip install --pre azure-cosmos`
27+
* [Azure Cosmos DB Python SDK](https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/cosmos/azure-cosmos) - Install with this command: `pip install azure-cosmos`
2828

2929
* Clone this repository using:
3030
`git clone https://github.com/Azure-Samples/azure-cosmos-db-python-getting-started.git`
@@ -44,15 +44,6 @@ Azure Cosmos DB is Microsoft’s globally distributed multi-model database servi
4444
Query returned 2 items. Operation consumed 3.09 request units
4545
```
4646
47-
* If you see the following error, then ensure you have installed the Azure Cosmos DB SDK properly with the `--pre` flag. See prerequisites section above for details.
48-
49-
```
50-
Traceback (most recent call last):
51-
File "cosmos_get_started.py", line 1, in <module>
52-
from azure.cosmos import exceptions, CosmosClient, PartitionKey
53-
ImportError: cannot import name 'exceptions' from 'azure.cosmos' (...\lib\site-packages\azure\cosmos\__init__.py)
54-
```
55-
5647
* You can view the items that this sample created by navigating to the [Azure Cosmos DB Data Explorer](https://cosmos.azure.com/) and selecting the AzureSampleFamilyDatabase:
5748
5849
!['Azure Cosmos DB Data Explorer](assets/dataexplorer.png)

0 commit comments

Comments
 (0)