python - Can't run mongod command after got pymongo installed from pip -
i'm running virtualenv on osx 10.7.4, , trying install mongodb python, version 2.7.3.
i installed pip, , trying see happens if run mongod command, turns out can't run command.
below happened in terminal, give hand here wrong?
(test1)dus-macbook-air:~ mepine$ pip install pymongo downloading/unpacking pymongo downloading pymongo-2.2.1.tar.gz (230kb): 230kb downloaded running setup.py egg_info package pymongo installing collected packages: pymongo running setup.py install pymongo building 'bson._cbson' extension /usr/bin/clang -fno-strict-aliasing -os -w -pipe -march=native -qunused-arguments -fwrapv -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes -ibson -i/usr/local/cellar/python/2.7.3/include/python2.7 -c bson/_cbsonmodule.c -o build/temp.macosx-10.4-x86_64-2.7/bson/_cbsonmodule.o /usr/bin/clang -fno-strict-aliasing -os -w -pipe -march=native -qunused-arguments -fwrapv -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes -ibson -i/usr/local/cellar/python/2.7.3/include/python2.7 -c bson/time64.c -o build/temp.macosx-10.4-x86_64-2.7/bson/time64.o /usr/bin/clang -fno-strict-aliasing -os -w -pipe -march=native -qunused-arguments -fwrapv -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes -ibson -i/usr/local/cellar/python/2.7.3/include/python2.7 -c bson/buffer.c -o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o /usr/bin/clang -fno-strict-aliasing -os -w -pipe -march=native -qunused-arguments -fwrapv -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes -ibson -i/usr/local/cellar/python/2.7.3/include/python2.7 -c bson/encoding_helpers.c -o build/temp.macosx-10.4-x86_64-2.7/bson/encoding_helpers.o /usr/bin/clang -bundle -undefined dynamic_lookup -l/usr/local/cellar/readline/6.2.2/lib build/temp.macosx-10.4-x86_64-2.7/bson/_cbsonmodule.o build/temp.macosx-10.4-x86_64-2.7/bson/time64.o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o build/temp.macosx-10.4-x86_64-2.7/bson/encoding_helpers.o -o build/lib.macosx-10.4-x86_64-2.7/bson/_cbson.so building 'pymongo._cmessage' extension /usr/bin/clang -fno-strict-aliasing -os -w -pipe -march=native -qunused-arguments -fwrapv -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes -ibson -i/usr/local/cellar/python/2.7.3/include/python2.7 -c pymongo/_cmessagemodule.c -o build/temp.macosx-10.4-x86_64-2.7/pymongo/_cmessagemodule.o /usr/bin/clang -fno-strict-aliasing -os -w -pipe -march=native -qunused-arguments -fwrapv -dndebug -g -fwrapv -o3 -wall -wstrict-prototypes -ibson -i/usr/local/cellar/python/2.7.3/include/python2.7 -c bson/buffer.c -o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o /usr/bin/clang -bundle -undefined dynamic_lookup -l/usr/local/cellar/readline/6.2.2/lib build/temp.macosx-10.4-x86_64-2.7/pymongo/_cmessagemodule.o build/temp.macosx-10.4-x86_64-2.7/bson/buffer.o -o build/lib.macosx-10.4-x86_64-2.7/pymongo/_cmessage.so installed pymongo cleaning up... (test1)dus-macbook-air:~ mepine$ mongod -bash: mongod: command not found
thanks guys!!
i think maybe you're confusing python mongo driver mongo server itself.
did install mongodb (mongod, mongo, etc.), or pymongo?
there's homebrew package mongodb, in case want easy way install it--or can download directly http://www.mongodb.org/downloads.
Comments
Post a Comment