Welcome to the Alteryx Knowledge Base
Created/Edited -
In Designer, the Jupyter Notebook interface in the Python tool's Interactive mode is blank after letting it load. After clicking on a Python Tool either newly added to a workflow or a Python tool that was already in a saved workflow it loads as per the image below:
Then after letting it load it shows a blank UI
- Alteryx Designer
- Version 2019.3+
Cause A
The jupyter-notebook.exe is missing from the <Install Path>\bin\Miniconda3\envs\JupyterTool_vEnv\Scripts path. For versions 2021.1.4+ the path is <Install Path>\bin\Miniconda3\envs\DesignerBaseTools_venv\Scripts
To check this:
- Confirm Designer is open and a Python Tool is on the canvas (showing a blank UI).
- Open Task Manager
- Under the Details tab of the Task Manger you should see both
- jupyter-notebook.exe
- jupyter.exe
The .exe missing could have been caused from something (normally an anti-virus software) removing it during the install or when Designer tries to run the .exe.
Cause B
There is an issue with loading metadata in the Python tool.
Cause C
The underlying Operating System (OS) may have a problem with loading .dll files. To determine if this is the case, please do the following:
- Open Command Prompt
- Change directory to where jupyter-notebook.exe is located in Designer:
- In versions older than 2021.1.4:
cd <Install Path>\bin\Miniconda3\envs\JupyterTool_vEnv\Scripts - In version 202.1.4+:
cd <Install Path>\bin\Miniconda3\envs\DesignerBaseTools_venv\Scripts
- In versions older than 2021.1.4:
- Run the following command which should attempt to load the Jupyter Notebook in a browser:
jupyter-notebook.exe - If instead the following error is returned, it may indicate a wider issue on the machine with loading .dll files. This can be verified by reviewing the Event Viewer logs on the machine to see if there are similar errors with loading .dll files from other non-Alteryx applications.
ImportError: DLL load failed while importing_sqlite3: The file cannot be accessed by the system
Solution A
If the jupyter-notebook.exe is missing from the Scripts folder and neither service is running:
- Close Designer
- Copy a working jupyter-notebook.exe from the same Designer version, and place it in the <Install Path>\bin\Miniconda3\envs\JupyterTool_vEnv\Scripts path. For versions 2021.1.4+ the path is <Install Path>\bin\Miniconda3\envs\DesignerBaseTools_venv\Scripts
- Reopen Designer
If neither service starts after placing the jupyter-notebook.exe in Scripts folder and reopening Designer and clicking on a Python Tool, confirm that it is still present in the Scripts folder because there are times when an anti-virus will remove it.
Solution B
If the jupyter-notebook.exe is not missing and the services are running, there may be a metadata refresh issue.
- Open Designer
- Drag a Python Tool onto the Canvas
- Let the tool load to show a blank UI
- Click Production, then Interactive in the Python Tool
- Click off of the tool, into the Canvas
- Click back into the Python tool. The tool should load successfully
Solution C
Consider the following to fix the underlying issue with the OS:
- Run the Windows System Files Checker
- Run a .NET Framework repair
- Reinstall the OS
Note: If unsure, please reach out to your IT team about proceeding with the above.
- List of what to get whitelisted for Python/Jupyter for antivirus
- Additional causes and resolutions for similar error with Jupyter failing to load: