Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run MongoDB in Anaconda?

Tags:

I'm using the Anaconda package manager, and I installed the mongodb package in Anaconda using the conda install mongodb command. But when I run mongo to start the Mongo shell, I get an error as follows:

mongo: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory

How do I fix this issue?

like image 952
Train Heartnet Avatar asked Jul 22 '16 04:07

Train Heartnet


People also ask

How do I start MongoDB in terminal?

To open up the MongoDB shell, run the mongo command from your server prompt. By default, the mongo command opens a shell connected to a locally-installed MongoDB instance running on port 27017 . Try running the mongo command with no additional parameters: mongo.

Can I run MongoDB locally?

You can start MongoDB on your computer with the mongod command. Keep the mongod window running when you want to work with your local MongoDB. MongoDB stops when you close the window.


1 Answers

Try re-installing the latest version of MongoDB through the Anaconda package manager

conda install -c anaconda mongodb=3.3.9

Seed details in the Anaconda documentation

like image 102
Paul Foley Avatar answered Sep 28 '22 02:09

Paul Foley