Skip to content

Instantly share code, notes, and snippets.

@erwanjegouzo
Last active August 29, 2015 13:58
Show Gist options
  • Save erwanjegouzo/9959289 to your computer and use it in GitHub Desktop.
Save erwanjegouzo/9959289 to your computer and use it in GitHub Desktop.
#!/bin/bash
#bash -c "$(curl -fsSL http://bit.ly/1gSdbfX)"
sudo apt-get install build-essential libboost-filesystem-dev libboost-program-options-dev libboost-system-dev libboost-thread-dev scons libboost-all-dev python-pymongo git
cd ~
git clone https://github.com/skrabban/mongo-nonx86
cd mongo-nonx86
sudo scons
@VithyaCapOne
Copy link

I followed the above instructions and installed MongoDB on my Raspberry Pi. I am able to run shell (version 2.1.1) and able to add documents...

I am trying to connect from Python and getting error when I import pymongo as follows:
import pymongo
importError: No module names pymongo

DO you think there may be version incompatibility between MongoDB and pymongo driver? Please guide me to fix this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment