TypeError: _publish_status() takes 2 positional arguments but 3 were given
[I 07:43:11.839 NotebookApp] KernelRestarter: restarting kernel (2/5), new random ports
c:\users\andy\scoop\apps\python\current\lib\site-packages\allthekernels.py:13: DeprecationWarning: zmq.eventloop.ioloop is deprecated in pyzmq 17. pyzmq now works with default tornado and asyncio eventloops.
ioloop.install()
[AllTheKernelsApp] IPYTHONDIR set to: C:\Users\Andy\.ipython
[AllTheKernelsApp] Using existing profile dir: 'C:\\Users\\Andy\\.ipython\\profile_default'
[AllTheKernelsApp] Searching path ['D:\\MyDocs\\重要文档\\obsidian\\default\\软件开发\\CSharp', 'C:\\Users\\Andy\\.ipython\\profile_default', 'c:\\users\\andy\\scoop\\apps\\python\\current\\etc\\ipython', 'C:\\ProgramData\\ipython'] for config files
[AllTheKernelsApp] Attempting to load config file: ipython_config.py
[AllTheKernelsApp] Looking for ipython_config in C:\ProgramData\ipython
[AllTheKernelsApp] Looking for ipython_config in c:\users\andy\scoop\apps\python\current\etc\ipython
[AllTheKernelsApp] Looking for ipython_config in C:\Users\Andy\.ipython\profile_default
[AllTheKernelsApp] Loaded config file: C:\Users\Andy\.ipython\profile_default\ipython_config.py
[AllTheKernelsApp] Looking for ipython_config in D:\MyDocs\重要文档\obsidian\default\软件开发\CSharp
[AllTheKernelsApp] Attempting to load config file: ipython_kernel_config.py
[AllTheKernelsApp] Looking for ipython_kernel_config in C:\ProgramData\ipython
[AllTheKernelsApp] Looking for ipython_kernel_config in c:\users\andy\scoop\apps\python\current\etc\ipython
[AllTheKernelsApp] Looking for ipython_kernel_config in C:\Users\Andy\.ipython\profile_default
[AllTheKernelsApp] Loaded config file: C:\Users\Andy\.ipython\profile_default\ipython_kernel_config.py
[AllTheKernelsApp] Looking for ipython_kernel_config in D:\MyDocs\重要文档\obsidian\default\软件开发\CSharp
[AllTheKernelsApp] Loading connection file C:\Users\Andy\AppData\Roaming\jupyter\runtime\kernel-41747d7a-f013-462e-90c7-c60924d0736f.json
[AllTheKernelsApp] Starting the kernel at pid: 13772
[AllTheKernelsApp] shell ROUTER Channel on port: 64393
[AllTheKernelsApp] stdin ROUTER Channel on port: 64395
[AllTheKernelsApp] control ROUTER Channel on port: 64397
[AllTheKernelsApp] iopub PUB Channel on port: 64394
[AllTheKernelsApp] Heartbeat REP Channel on port: 64396
[AllTheKernelsApp] Writing connection file: C:\Users\Andy\AppData\Roaming\jupyter\runtime\kernel-41747d7a-f013-462e-90c7-c60924d0736f.json
[AllTheKernelsApp] To connect another client to this kernel, use:
[AllTheKernelsApp] --existing kernel-41747d7a-f013-462e-90c7-c60924d0736f.json
Traceback (most recent call last):
File "c:\users\andy\scoop\apps\python\current\lib\runpy.py", line 197, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\users\andy\scoop\apps\python\current\lib\runpy.py", line 87, in _run_code
exec(code, run_globals)
File "c:\users\andy\scoop\apps\python\current\lib\site-packages\allthekernels.py", line 206, in <module>
main()
File "c:\users\andy\scoop\apps\python\current\lib\site-packages\traitlets\config\application.py", line 846, in launch_instance
app.start()
File "c:\users\andy\scoop\apps\python\current\lib\site-packages\ipykernel\kernelapp.py", line 665, in start
self.kernel.start()
File "c:\users\andy\scoop\apps\python\current\lib\site-packages\allthekernels.py", line 96, in start
super().start()
File "c:\users\andy\scoop\apps\python\current\lib\site-packages\ipykernel\kernelbase.py", line 507, in start
self._publish_status('starting', 'shell')
TypeError: _publish_status() takes 2 positional arguments but 3 were given
[AllTheKernelsApp] Cleaning up sockets
[AllTheKernelsApp] Closing heartbeat channel
[AllTheKernelsApp] Closing iopub channel
[AllTheKernelsApp] Closing control thread
[AllTheKernelsApp] Closing shell channel
[AllTheKernelsApp] Closing control channel
[AllTheKernelsApp] Closing stdin channel
[AllTheKernelsApp] Terminating zmq context
[AllTheKernelsApp] Terminated zmq context
TypeError: _publish_status() takes 2 positional arguments but 3 were given