Bug#1011152: spyder: Console not starting. Spyder alerts : iPython 7.31.1 & qtconsole 5.3.0 not installed. But they are !

Julian Gilbey julian at d-and-j.net
Tue May 17 17:10:11 BST 2022


Dear RB68,

On Tue, May 17, 2022 at 04:54:19PM +0200, RB68 wrote:
> Package: spyder
> Version: 5.3.0+dfsg1-7
> Severity: grave
> Justification: renders package unusable
> X-Debbugs-Cc: epsommumule at virgilio.it
> 
> Dear Maintainer,
> 
> I upgraded Spyder 4.2.1 to 5.3 both on my main desktop PC and in a qemu client.
> In both cases I encountered a problem.
> 
> The console would not start in the qemu client, Spyder alerting that iPython
> 7.31.1 & qtconsole 5.3.0 are not installed, even though they are ! After a
> reboot I still faced the same problem.

Thanks for this report.  This is strange...

> [...]
> 
> Here are the error messages from Spyder :
> 
> # Mandatory:
> IPython >=7.31.1 : 7.28.0 (NOK)
> qtconsole >=5.3.0;<5.4.0 : 5.1.1 (NOK)

This says that the versions of ipython and qtconsole that spyder has
loaded are versions 7.28.0 and 5.1.1 respectively.

> Traceback (most recent call last):
>   File "/home/horses/.local/lib/python3.9/site-
> packages/qtconsole/base_frontend_mixin.py", line 138, in _dispatch
>     handler(msg)

And I think we have the problem: you have locally installed versions
of several of the required Python packages (presumably using "pip3
install --user", and these are loaded in preference to the system
versions.

Have a look at the directory ~/.local/lib/python3.9/site-packages to
see what's locally installed, and uninstall all of the packages that
have newer versions on the system.  For example:

pip3 uninstall qtconsole iPython

I assume that doing this will resolve the problem.  If not, please let
me know.

Best wishes,

   Julian



More information about the debian-science-maintainers mailing list