Alteryx Designer Desktop Discussions

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

Alteryx Python Tool vs Jupyter Notebook

cgonzalez3
5 - Atom

Hi All, 

 

I am trying to connect to the smartsheet API via Alteryx Python tool. 

When I run my code in Jupyter Notebooks, code runs just fine. When I try to do it via the Alteryx Python tool (with the same exact code), it throws out an error

type object 'Retry' has no attribute 'DEFAULT_ALLOWED_METHODS'

. Anyone had to deal with this before? I am using 2022.1. 

2 REPLIES 2
mcha54
8 - Asteroid

Wondering if you ever figured this out? - I am seeing this as well occasionally when connecting via Alteryx Python tool to Smartsheet API, using the Smartsheet Python SDK.

mrityunjay648
5 - Atom

Hi,

I was facing the same issue for some time, try installing 'urllib3==1.26.15' package;

 

In case you are using Alteryx Python Tool; add the below lines in Jupyter Notebook Cell;

from ayx import Package
Package.installPackages(['pandas','numpy','urllib3==1.26.15','smartsheet-python-sdk'])

 

, last one is to connect to smartsheets.

 

In case using Python IDE;

> pip install urllib3==1.26.15

 

Hope this helps.

 

Thanks,

Mrutyunjaya

Labels