this workflow is working previously. it throws out this error below when it run in server.
when i run in designer, it had no problem.
i test with the code below, and it i product same error code in server.
Python tool (Test):
.
python code (Workflow):
Error message:
Traceback (most recent call last):
File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "D:\Program Files\Alteryx\bin\Miniconda3\envs\JupyterTool_vEnv\Scripts\jupyter-nbconvert.EXE\__main__.py", line 7, in <module> File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\jupyter_core\application.py", line 270, in launch_instance return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\traitlets\config\application.py", line 658, in launch_instance app.start() File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\nbconvertapp.py", line 338, in start self.convert_notebooks() File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\nbconvertapp.py", line 508, in convert_notebooks self.convert_single_notebook(notebook_filename) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\nbconvertapp.py", line 479, in convert_single_notebook output, resources = self.export_single_notebook(notebook_filename, resources, input_buffer=input_buffer) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\nbconvertapp.py", line 408, in export_single_notebook output, resources = self.exporter.from_filename(notebook_filename, resources=resources) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\exporters\exporter.py", line 179, in from_filename return self.from_file(f, resources=resources, **kw) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\exporters\exporter.py", line 197, in from_file return self.from_notebook_node(nbformat.read(file_stream, as_version=4), resources=resources, **kw) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\exporters\notebook.py", line 32, in from_notebook_node nb_copy, resources = super(NotebookExporter, self).from_notebook_node(nb, resources, **kw) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\exporters\exporter.py", line 139, in from_notebook_node nb_copy, resources = self._preprocess(nb_copy, resources) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\exporters\exporter.py", line 316, in _preprocess nbc, resc = preprocessor(nbc, resc) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\preprocessors\base.py", line 47, in __call__ return self.preprocess(nb, resources) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\preprocessors\execute.py", line 379, in preprocess with self.setup_preprocessor(nb, resources, km=km): File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\contextlib.py", line 113, in __enter__ return next(self.gen) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\preprocessors\execute.py", line 324, in setup_preprocessor self.km, self.kc = self.start_new_kernel(cwd=path) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\nbconvert\preprocessors\execute.py", line 271, in start_new_kernel km.start_kernel(extra_arguments=self.extra_arguments, **kwargs) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\jupyter_client\manager.py", line 304, in start_kernel kernel_cmd, kw = self.pre_start_kernel(**kw) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\jupyter_client\manager.py", line 257, in pre_start_kernel kernel_cmd = self.format_kernel_cmd(extra_arguments=extra_arguments) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\jupyter_client\manager.py", line 181, in format_kernel_cmd cmd = self.kernel_spec.argv + extra_arguments File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\jupyter_client\manager.py", line 87, in kernel_spec self._kernel_spec = self.kernel_spec_manager.get_kernel_spec(self.kernel_name) File "d:\program files\alteryx\bin\miniconda3\envs\jupytertool_venv\lib\site-packages\jupyter_client\kernelspec.py", line 235, in get_kernel_spec raise NoSuchKernel(kernel_name) jupyter_client.kernelspec.NoSuchKernel: No such kernel named jupytertool_venv
Solved! Go to Solution.
found some similar article.
Error: NoSuchKernel: No such kernel named jupytert... - Alteryx Community
update: it solved based on article.
background:
designer version: 2020.4 --> jupytertool_venv
server version: 2020.1 -->python3
no upgrade is made but attempt to.