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.
Solved! Go to Solution.
Found the error. Time does not need to be installed as it's built in. Just need to import it.