---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
<ipython-input-5-996d7f70005a> in <module>()
1 from ayx import Alteryx
2
----> 3 Alteryx.installPackage('spacy')
c:\users\x\appdata\local\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\ayx\export.py in installPackage(package, *args, **kwargs)
33 This function will install a package or list of packages into the virtual environment used by the Python tool. If using an admin installation of Alteryx, you must run Alteryx as administrator in order to use this function and install packages.
34 '''
---> 35 __installPackages__(package, *args, **kwargs)
36
37 # these are the same function.
c:\users\x\appdata\local\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\ayx\Package.py in installPackages(package, install_type)
64 result = subprocess.check_output(
65 [sys.executable, "-m", "pip"] + pip_args_list,
---> 66 stderr = subprocess.STDOUT
67 )
68 # print the output
~\AppData\Local\Alteryx\bin\Miniconda3\lib\subprocess.py in check_output(timeout, *popenargs, **kwargs)
334
335 return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
--> 336 **kwargs).stdout 337
338
~\AppData\Local\Alteryx\bin\Miniconda3\lib\subprocess.py in run(input, timeout, check, *popenargs, **kwargs)
416 if check and retcode:
417 raise CalledProcessError(retcode, process.args,
--> 418 output=stdout, stderr=stderr) 419 return CompletedProcess(process.args, retcode, stdout, stderr)
420
CalledProcessError: Command '['c:\\users\\x\\appdata\\local\\alteryx\\bin\\miniconda3\\pythontool_venv\\scripts\\python.exe', '-m', 'pip', 'install', 'spacy']' returned non-zero exit status 1.