How to run MongoDB in Anaconda?

Tra*_*net 5 mongodb anaconda

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
Run Code Online (Sandbox Code Playgroud)

How do I fix this issue?

小智 4

尝试通过 Anaconda 包管理器重新安装最新版本的 MongoDB

conda install -c anaconda mongodb=3.3.9
Run Code Online (Sandbox Code Playgroud)

Anaconda 文档中的种子详细信息

  • 该版本目前仅适用于 os x :( https://anaconda.org/anaconda/mongodb/files (2认同)