Reputation: 371
I'm new to Qt5 and I'm trying to develop something that's based on a working code. This is the following "code":
from qtconsole.manager import QtKernelManager
class whatever
def __init__(self):
super(whatever, self).__init__()
kernel_manager = QtKernelManager(kernel_name=USE_KERNEL)
...
def whatever2:
...
self.kernel_manager.kernel.execution_count = 1
and I get an error:
AttributeError: 'QtKernelManager' object has no attribute 'kernel'
The thing is that I tried looking EVERYWHERE for this class and looked for attributes, but nothing comes up. Does anyone have a clue how to solve this and those kinds of problems in general?
Thanks!
Upvotes: 0
Views: 108