On some Linux systems, any attempt to use IPython magic commands (such as the "?" help command) in IPython run from the terminal will result in an exception traceback ending in
"error: setupterm: could not find terminfo database".
This is a bug which should be fixed in Canopy 1.2, in early November. Meanwhile, you should be able to work around the problem by setting
export TERM="xterm-256color" in the shell from which you execute ipython,
or in your
~/.bashrc file, which you then source.