Hello There,
I am trying to upload two libraries for Python "mkl" and " openpyxl", but I always got an error. I have got the admin privilege, but I still get an error.
This is the scripts
from ayx import Package Package.installPackages(['openpyxl'])
This is the error
Python (1) ---------------------------------------------------------------------------¶CalledProcessError Traceback (most recent call last)¶Cell In[2], line 2¶ 1 from ayx import Package¶----> 2 Package.installPackages(['openpyxl'])¶File c:\program files\alteryx\bin\miniconda3\envs\designerbasetools_venv\lib\site-packages\ayx\Package.py:202, in installPackages(package, install_type, debug)¶ 200 print(pip_install_result["msg"])¶ 201 if not pip_install_result["success"]:¶--> 202 raise pip_install_result["err"]¶File c:\program files\alteryx\bin\miniconda3\envs\designerbasetools_venv\lib\site-packages\ayx\Utils.py:120, in runSubprocess(args_list, debug)¶ 117 print(" ".join(["[Executing subprocess:"] + args_list + ["]"]))¶ 119 try:¶--> 120 result = subprocess.check_output(args_list, stderr=subprocess.STDOUT)¶ 121 if debug:¶ 122 print("[Subprocess success!]")¶File c:\program files\alteryx\bin\miniconda3\envs\designerbasetools_venv\lib\subprocess.py:421, in check_output(timeout, *popenargs, **kwargs)¶ 418 empty = b''¶ 419 kwargs['input'] = empty¶--> 421 return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,¶ 422 **kwargs).stdout¶File c:\program files\alteryx\bin\miniconda3\envs\designerbasetools_venv\lib\subprocess.py:526, in run(input, capture_output, timeout, check, *popenargs, **kwargs)¶ 524 retcode = process.poll()¶ 525 if check and retcode:¶--> 526 raise CalledProcessError(retcode, process.args,¶ 527 output=stdout, stderr=stderr)¶ 528 return CompletedProcess(process.args, retcode, stdout, stderr)¶CalledProcessError: Command '['c:\\program files\\alteryx\\bin\\miniconda3\\envs\\designerbasetools_venv\\python.exe', '-I', '-m', 'pip', 'install', 'openpyxl']' returned non-zero exit status 1.¶
Solved! Go to Solution.
Hello @AntonioM
I think this may be a good candidate to report through my.alteryx.com to ensure Customer Support is aware and can provide insight into resolution. The case submission process will also search the Knowledge Base in case there is a known solution
Thank you @AlteryxMatt