Install Pymongo in Python3

Source: Internet
Author: User

Install Pymongo in Python3

This tutorial shows how to install the Pymongo library. The editor uses pycharm.

Preparation

Here, we directly use pycharm to install the Pymongo Library and the mongodb-related management plug-in of pycharm.

Install Pymongo

It is very easy to install with pycharm. First, open the relevant window according to the following menu path.

Copy codeThe Code is as follows:
Pycharm: File> Settings> Project python> Project InterPreter

In this step, you can see a list of libraries, which list some frequently used installed libraries. Next, click a green plus sign on the right. Open an Available Packages window and search for the keyword pymongo. Find the relevant library, select it, and click install package in the lower-left corner of the window to install the package.

Install the Pycharm Mongodb plug-in

Open the window according to the following menu path:

Copy codeThe Code is as follows:
Pycharm: File> settings> plugins

By this step, you will see a list of plug-ins you have installed.

Next, click the buttons in the middle and Browse repositories... to open the list of all plug-ins. Search for mongo, select the Mongo Plugin, and click Install in the window on the right.

Configure the visual Mongodb Tool

The preparation is complete. Before operating the code, we need to configure the Mongodb management software. Otherwise, we do not know what the operation is. We use the tool provided by pycharm.

First, findMongo Exploer(Usually on the left or right ). Click Open panel and click this setting button.

In the pop-up window, click the green plus sign on the right side to open an information filling window.

Simply fill in some required items, click Test Connection to Test whether it is available, if possible.

After the configuration is complete, all database information is displayed.

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.