Alteryx Designer Desktop Discussions

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

Python Tool Error Code

AlteryxUserFL
11 - Bolide

My code runs fine, but I keep getting this error from the python tool. Any ideas? 

 

Code:

 

# List all non-standard packages to be imported by your 
# script here (only missing packages will be installed)
from ayx import Package


Package.installPackages(['pandas','time','numpy','tableauserverclient'])

 

 

Error:

 

CalledProcessError: Command '['c:\\users\\xxxxxx\\appdata\\local\\alteryx\\bin\\miniconda3\\envs\\jupytertool_venv\\python.exe', '-m', 'pip', 'install', 'pandas', 'time', 'numpy', 'tableauserverclient']' returned non-zero exit status 1.

 

 

1 REPLY 1
AlteryxUserFL
11 - Bolide

Found the error. Time does not need to be installed as it's built in. Just need to import it. 

Labels