You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\conda\envs\python3.9.13\lib\site-packages\spyder\plugins\ipythonconsole\widgets\client.py", line 768, in _restart_thread_mainself.shellwidget.kernel_manager.restart_kernel(
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\utils.py", line 30, in wrappedraise e
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\utils.py", line 27, in wrappedreturn loop.run_until_complete(future)
File "D:\conda\envs\python3.9.13\lib\site-packages\nest_asyncio.py", line 89, in run_until_completereturn f.result()
File "D:\conda\envs\python3.9.13\lib\asyncio\futures.py", line 201, in resultraiseself._exception
File "D:\conda\envs\python3.9.13\lib\asyncio\tasks.py", line 256, in __step
result = coro.send(None)
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\manager.py", line 542, in _async_restart_kernelawait ensure_async(self.start_kernel(**self._launch_args))
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\utils.py", line 30, in wrappedraise e
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\utils.py", line 27, in wrappedreturn loop.run_until_complete(future)
File "D:\conda\envs\python3.9.13\lib\site-packages\nest_asyncio.py", line 89, in run_until_completereturn f.result()
File "D:\conda\envs\python3.9.13\lib\asyncio\futures.py", line 201, in resultraiseself._exception
File "D:\conda\envs\python3.9.13\lib\asyncio\tasks.py", line 256, in __step
result = coro.send(None)
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\manager.py", line 83, in wrapperraise e
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\manager.py", line 75, in wrapper
out =await method(self, *args, **kwargs)
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\manager.py", line 385, in _async_start_kernel
kernel_cmd, kw =await ensure_async(self.pre_start_kernel(**kw))
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\utils.py", line 30, in wrappedraise e
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\utils.py", line 27, in wrappedreturn loop.run_until_complete(future)
File "D:\conda\envs\python3.9.13\lib\site-packages\nest_asyncio.py", line 89, in run_until_completereturn f.result()
File "D:\conda\envs\python3.9.13\lib\asyncio\futures.py", line 201, in resultraiseself._exception
File "D:\conda\envs\python3.9.13\lib\asyncio\tasks.py", line 256, in __step
result = coro.send(None)
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\manager.py", line 351, in _async_pre_start_kernel
kw =awaitself.provisioner.pre_launch(**kw)
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\provisioning\local_provisioner.py", line 193, in pre_launch
kernel_cmd = km.format_kernel_cmd(
File "D:\conda\envs\python3.9.13\lib\site-packages\jupyter_client\manager.py", line 261, in format_kernel_cmd
cmd =self.kernel_spec.argv + extra_arguments
File "D:\conda\envs\python3.9.13\lib\site-packages\spyder\plugins\ipythonconsole\utils\kernelspec.py", line 107, in argv
get_conda_activation_script(),
File "D:\conda\envs\python3.9.13\lib\site-packages\spyder\utils\conda.py", line 76, in get_conda_activation_scriptif osp.basename(exe).startswith('micromamba'):
File "D:\conda\envs\python3.9.13\lib\ntpath.py", line 216, in basenamereturn split(p)[1]
File "D:\conda\envs\python3.9.13\lib\ntpath.py", line 185, in split
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType
I'm going to merge this issue with #20023, as suggested by @dalthviz on that issue, and will try to solve the error generated when trying to detect Micromamba too.
What steps reproduce the problem?
2022-11-10.16-25-14.mp4
Versions
Dependencies
The text was updated successfully, but these errors were encountered: