it's a shell command, so you'll need to treat it like one by prefixing the command in jupyter with a bang (! pip install hyperopt ). why not just install it outside the jupyter notebook, though? - erip aug 1 9, 2 0 1 7 at 3 : 1 7