Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Python Tool / Jupyter Notebook not working after update

EW
11 - Bolide

I updated Alteryx to 2022.1 this week, and now my workflows using the Python tool are no longer working.  Do I need to download a Python/Jupyter update separately or something, or change a setting maybe?  

 

When I click on the Python tool, it says the Jupyter Notebook is loading for a while, and then goes blank without loading.

Python Jupyter.PNG

 

Running the workflow doesn't cause an error in the Python tool, but it doesn't work either.  No data is output.  I can't attach a sample workflow since the non-functional Python tool presumably still contains sensitive information in it.  The specific use is to download data from the Qualtrics API as described in this thread.  If I bring in a new Python tool into a new workflow, the same thing happens where the Jupyter notebook never loads. 

 

It does seem like the One-Tool Example workflow runs and produces output, but the Jupyter notebook never loads there either.  

12 REPLIES 12
Garabujo7
Alteryx
Alteryx

Hello @EW ,

 

Could you try the steps outlined in the next post:

https://community.alteryx.com/t5/Product-Resources/Python-Tool-Jupyter-Notebook-Blank-After-Loading/...

 

Gabriel

EW
11 - Bolide

Thanks @Garabujo7 - it looks like I don't have access to that section of the forum?  Link is saying access denied for me.  

Garabujo7
Alteryx
Alteryx

Sorry about it.

The resolution steps are:

 

1. Close Designer.
2. Provide a jupyter-notebook.exe and place it in <Install Path>\bin\Miniconda3\envs\JupyterTool_vEnv\Scripts path. For versions 2021.1.4 and higher the path is <Install Path>\bin\Miniconda3\envs\DesignerBaseTools_venv\Scripts
3. 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.

 

It may be an issue with the anti-virus blocking the python tool.

 

Gabriel

EW
11 - Bolide

Thank you!  The specified folder does contain jupyter-notebook.exe still.  I'm looking into the anti-virus route since I'll have to go through our IT team to figure that out.  It seems strange it worked fine before the Alteryx update and isn't working now though.  

Garabujo7
Alteryx
Alteryx

You could look at:

 

 

  • If python is freezing or just hanging and is not in the task manager as it is running then it might be getting stopped by antivirus
  • Another issue is that python might not be trusted and the workbook.ipynb files might not get created causing a metadata issue

 

I agree with you but maybe something have changed since you first installed it.

 

Also, give it a try and run Designer as admin. Right click on the Designer icon, then select run as Administrator and then look if it works now.

 

Gabriel

 

EW
11 - Bolide

It looks like python shows up in the Task Manager when running, but not Jupyter Notebook.  And the one-tool-example Python workflow seems to work.  So Jupyter getting blocked seems likely.  

 

Task Manager.PNG

 

I'm not able to run it as administrator (pretty locked down here LOL) and I'm not sure how to see if python or jupyter is trusted.  

Garabujo7
Alteryx
Alteryx

It may be the antivirus blocking it. It's worth to give it a try though.

 

Gabriel

rhipp87
8 - Asteroid

Did you find a solution to this? I've tried the admin-install and non-admin install versions of Alteryx, and even deleted the install directories after uninstalling. On version 2022.3.1.450 Patch: 2

 

rhipp87_0-1679613215589.png

 

clmc9601
13 - Pulsar
13 - Pulsar

Hi all, maybe this thread will help! 

Labels