[IPython-User] IPython Qt Console frozen

Diego diego.no.spam@gmail....
Sat Jul 28 16:42:03 CDT 2012


On Sat, Jul 28, 2012 at 6:17 PM, Matthias BUSSONNIER
<bussonniermatthias@gmail.com> wrote:
>
> Le 28 juil. 2012 à 22:37, Diego a écrit :
>
>> I tried removing and reinstalling the qt console and -even though it
>> didn't solve the problem- it shows in fact I have 0.12-1 installed:
>>
>
> Hi,
>
> I think there is a difference between 0.12.1  and 0.12-1, the second might be debian specific patch on top of 0.12.
>
> can you try
>>>> from IPython.external.path import path
> in a regular python shell ?
> what does
>>>> import path
> also tells you ?
>
> If you do not want to upgrade, but try 0.12.1
> You can run it from the source without installing.
>
> download the version you want from here : https://github.com/ipython/ipython/tags
> un[tar|zip] it.
> Then from the root of the source tree you can try to run :
> python ipython.py qtconsole [your other options if any]
>
> --
> Matthias


Will try getting the source from github now.

Meanwhile, I tried what you suggested:

Python 2.7.2+ (default, Nov 30 2011, 19:22:03)
[GCC 4.6.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from IPython.external.path import path
/home
/home
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/IPython/__init__.py", line
43, in <module>
    from .config.loader import Config
  File "/usr/lib/python2.7/dist-packages/IPython/config/loader.py",
line 27, in <module>
    from IPython.utils.path import filefind, get_ipython_dir
  File "/usr/lib/python2.7/dist-packages/IPython/utils/path.py", line
24, in <module>
    from IPython.utils.process import system
  File "/usr/lib/python2.7/dist-packages/IPython/utils/process.py",
line 27, in <module>
    from ._process_posix import _find_cmd, system, getoutput, arg_split
  File "/usr/lib/python2.7/dist-packages/IPython/utils/_process_posix.py",
line 27, in <module>
    from IPython.utils import text
  File "/usr/lib/python2.7/dist-packages/IPython/utils/text.py", line
27, in <module>
    from IPython.external.path import path
ImportError: cannot import name path
>>>
>>>
>>>
>>> import path
>>>


Thanks for your help.


More information about the IPython-User mailing list