Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spyder 5 No QCoreApplication instance found. Application patches not applied

Tags:

spyder

I get the following error after having upgraded to Spyder 5

  No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect. 

The interface also looks 'not nice' (I am guessing without the stylesheet).

Display 5.0 - 1

Downgrading to Spyder 4 causes everything to appear in a single column (Code area, console, variable explorer etc, all one below other with ugly overlap to make it unusable).

How do I go about fixing this?

like image 986
Hrishikesh Avatar asked Apr 07 '21 03:04

Hrishikesh


People also ask

What to do when qcoreapplication instance is not found?

"No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect. " The IDE doesn't launch.

What to do when qapplication patches are not applied?

Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect. spyder.api.exceptions.SpyderAPIError: Plugin "internal_console" not found!

Is it possible to use qapplication patches in Bootstrap?

Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect. " is present for bootstrap on macOS and the macOS application but does not inhibit launching. Also, regarding jupyter_client=6.1.13, see #15180.

Why is everything in one column in Spyder 4?

Downgrading to Spyder 4 causes everything to appear in a single column (Code area, console, variable explorer etc, all one below other with ugly overlap to make it unusable). How do I go about fixing this? Show activity on this post. ( Spyder maintainer here) That's a warning and it doesn't affect loading our new stylesheet.


Video Answer


2 Answers

(Spyder maintainer here) That's a warning and it doesn't affect loading our new stylesheet. Please simply ignore it.

Note: It's unfortunate that you don't like our style because it's the one Spyder will use from now on.

like image 65
Carlos Cordoba Avatar answered Oct 22 '22 12:10

Carlos Cordoba


You can restore your Spyder 4 layout using View --> Window Layout --> Spyder default layout.

like image 5
user15575899 Avatar answered Oct 22 '22 13:10

user15575899