How to install pymongo? (Using Powershell in Windows)
Check for pymongo:
$ pip list | Select-String "pymongo"
To Install:
$ pip install pymongo
To check version:
$ pip list | Select-String "pymongo"
To Uninstall:
$ pip uninstall pymongo
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved. Try the new cross-platform PowerShell https://aka.ms/pscore6 PS C:\Users\developer> pip list | Select-String "pymongo" PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer> pip install pymongo Collecting pymongo Using cached pymongo-3.12.1-cp310-cp310-win_amd64.whl (398 kB) Installing collected packages: pymongo Successfully installed pymongo-3.12.1 PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer> Successfully installed pymongo-3.12.1 Successfully : The term 'Successfully' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Successfully installed pymongo-3.12.1 + ~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Successfully:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException PS C:\Users\developer> pip list | Select-String "pymongo" pymongo 3.12.1 PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer> pip uninstall pymongo Found existing installation: pymongo 3.12.1 Uninstalling pymongo-3.12.1: Would remove: c:\users\developer\appdata\local\programs\python\python310\lib\site-packages\bson\* c:\users\developer\appdata\local\programs\python\python310\lib\site-packages\gridfs\* c:\users\developer\appdata\local\programs\python\python310\lib\site-packages\pymongo-3.12.1.dist-info\* c:\users\developer\appdata\local\programs\python\python310\lib\site-packages\pymongo\* Proceed (Y/n)? Y Successfully uninstalled pymongo-3.12.1 PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer> pip list | Select-String "pymongo" PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer> PS C:\Users\developer>
Very Interesting Tutorial, Thanks for sharing such useful post, keep doing the amazing work. must have a look.
ReplyDeleteDevOps Free Tutorial for Beginners
Kubernetes Free Tutorial for Beginners
Ansible Free Tutorial for Beginners
Docker Free Tutorial for Beginners
Openstack Free Tutorial for Beginners
Learn Linux, Cloud and DevOps