Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Installation Notes

jaberg edited this page Jan 8, 2013 · 2 revisions

Installation notes for hyperopt.

MongoDB

Hyperopt requires mongodb (sometimes "mongo" for short) to perform parallel search. As far as I know, hyperopt is compatible with all versions in the 2.x.x series, which is the current one (download the latest version here). It might even be compatible with all versions ever of mongodb, I don't know of any particular version requirements on mongo.

On linux and OSX, once you have downloaded mongodb and unpacked it, simply symlink it into the bin/ subdirectory of your virtualenv and your installation is complete.

# from the root of your virtualenv
# (or basically any folder with an active bin/ subdirectory)
(cd bin && { for F in ../mongodb-linux-x86_64-2.2.2/bin/* ; do echo "linking $F" ; ln -s $F ; done } )

Verify that hyperopt can use mongod by running either the full unit test suite, or just the mongo file

# cd to the hyperopt project root
nosetests hyperopt/tests/test_mongoexp.py
Clone this wiki locally
Morty Proxy This is a proxified and sanitized view of the page, visit original site.