In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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
Top Solution Authors