qtconsole command issue #595

ngcrawford opened this Issue Jul 19, 2011 · 6 comments


None yet
3 participants

I'm not sure if this is a bug, but I can get the qtconsole to run with this command:

    $ ipython-qtconsole --pylab
    [IPKernelApp] To connect another client to this kernel, use:
    [IPKernelApp] --existing --shell=522234 --iopub=54461 --stdin=52232 --hb=522243

But not with this one:

    $ ipython qtconsole --pylab
    WARNING: `-pylab` flag has been deprecated.
        Use `--pylab` instead, or `--pylab=foo` to specify a backend.
    WARNING: Found old IPython config file u'/Users/nick/.ipython/ipy_user_conf.py' (modified by user)
    WARNING: Found old IPython config file u'/Users/nick/.ipython/ipythonrc' (modified by user)

      The IPython configuration system has changed as of 0.11, and these files will
      be ignored. See http://ipython.github.com/ipython-doc/dev/config for details
      of the new config system.
      To start configuring IPython, do `ipython profile create`, and edit
      `ipython_config.py` in <ipython_dir>/profile_default.
      If you need to leave the old config files in place for an older version of
      IPython and want to suppress this warning message, set
      `c.InteractiveShellApp.ignore_old_config=True` in the new config.

    Welcome to pylab, a matplotlib-based Python environment [backend: WXAgg].
    For more information, type 'help(pylab)'.
    [TerminalIPythonApp] File not found: u'qtconsole'

The differene is the dash. The help output suggests that simply typing ipython qtconsole should work, but it gives me the same error as above. I'm running the newest version of EPD python (7.1-1 32 bit), but I easy_install'ed the newest ipython 0.11.dev version.


takluyver commented Jul 19, 2011

Have you previously installed a dev version of IPython 0.11? It looks like a previous installation might be interfering, although I'm not quite sure how.

I have, but not with this version of EPD python. I had previously changed backend with the config script because the OS X default backend wasn't working very well. I'll try deleting the config files in /Users/nick/.ipython

Deleting the old config files didn't change anything.


takluyver commented Jul 19, 2011

Could the modules from the older version be somewhere in the filesystem that they're getting imported when you start ipython? Is it possible to remove all versions of IPython from the disk, and install it again?


minrk commented Jul 19, 2011

I think Thomas is right - your system probably still has an older snapshot of ipython that it is finding first. You can see the options for the script with which -a ipython, and see where it is importing IPython from with import IPython; print IPython.__file__.

That did it, which -a ipython that is, there was one hiding in my /usr/local/bin/

ngcrawford closed this Jul 19, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment