Help us understand the problem. What is going on with this article?

pymongoを使ってみた

More than 3 years have passed since last update.

pymongoで検索すると、下記のページがヒット。
https://docs.mongodb.org/ecosystem/drivers/python/
installationをクリック。
指示に従って、python -m pip install pymongo を実行。なんかエラーが出たので、色々調べた結果、下記のページを見てpipをインストール。
https://packaging.python.org/en/latest/install_requirements_linux/#installing-pip-setuptools-wheel-with-linux-package-managers
実際に実行したのは以下。
sudo apt-get install python-pip

再度、python -m pip install pymongo を実行。成功。

次に下記のコマンドを実行。#関係するライブラリをインストールする必要があるみたい。
sudo apt-get install build-essential python-dev

その後、Tutrialに従って、サンプルコードを記述。
http://api.mongodb.org/python/current/tutorial.html?_ga=1.45218724.1893331206.1453483295
こっちも参照。
http://www.atmarkit.co.jp/ait/articles/1507/14/news029_2.html
http://qiita.com/mzmttks/items/052a8de5e943501b5ce7

リモートからのアクセスでエラーになったので、confファイルを書き替えた。デフォルトだとリモートアクセス不可の模様。
http://qiita.com/Chan_moro/items/cbf4e451d0a89f4d7c1a

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした