Reputation: 8219
I'm having the same problem as
Python Spyder initializing Hello World Kivi app once?
or
Python / Kivy App running only once
(Kivy program running exactly once and then failing with
[INFO ] [Base ] Start application main loop
[ERROR ] [Base ] No event listeners have been created
[ERROR ] [Base ] Application will leave
on any following attempt to run.)
Except I'm using Spyder 3.1.3 and Python 3.6.0.
Now according to these topics, the solution that avoids having to manually right-click the ipython console and restart the kernel every single time I want to run the bloody script is to go into the properties and select to "execute in a new dedicated python console".
I did that. It does absolutely nothing, even after restarting spyder. Neither does "execute in an external system terminal" do anything, spyder will just continue to stubbornly use the ipython/python console currently open.
Leaving it in "execute in current python or ipython console" and selecting "clear all variables before execution" doesn't have any effect either.
So ... how do I get this to work?
Upvotes: 0
Views: 1818
Reputation: 256
if you are using pytorch and kivy, maybe because of wrong packages it may happen.
python -m pip install -U pip
python -m pip install -U matplotlib
i faced similar problem change your matplotlib package through above commands. worked for me!
Upvotes: 0