Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
Announcement | We'll be doing maintenance between 2-3 hours, which may impact your experience. Thanks for your patience as we work on improving the community!

Analysing Amazon Connect data to Alteryx

bharatandalam
8 - Asteroid

When i try to load the Json files from the amazonconnect into alteryx to analyse the sentiment using the sentiment analysis macro. I get the below error:

 

Error: Sentiment Analysis (Vader) (29): Tool #30: ---------------------------------------------------------------------------
CalledProcessError Traceback (most recent call last)
<ipython-input-2-4f23cb0817ef> in <module>
1 from ayx import Alteryx
----> 2 Alteryx.installPackage('vadersentiment')
3
c:\program files\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\ayx\export.py in installPackage(package, install_type, debug, **kwargs)
138 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.
139 """
--> 140 __installPackages__(package, install_type=install_type, debug=debug, **kwargs)
141
142
c:\program files\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\ayx\Package.py in installPackages(package, install_type, debug)
112 print(pip_install_result['msg'])
113 if not pip_install_result['success']:
--> 114 raise pip_install_result['err']
c:\program files\alteryx\bin\miniconda3\pythontool_venv\lib\site-packages\ayx\Utils.py in runSubprocess(args_list, debug)
48
49 try:
---> 50 result = subprocess.check_output(args_list, stderr=subprocess.STDOUT)
51 if debug:
52 print("[Subprocess success!]")
C:\Program Files\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
C:\Program Files\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:\\program files\\alteryx\\bin\\miniconda3\\pythontool_venv\\scripts\\python.exe', '-m', 'pip', 'install', 'vadersentiment']' returned non-zero exit status 1.

 

1 REPLY 1
BrandonB
Alteryx
Alteryx

Did you launch Alteryx as administrator when installing vadersentiment? You need to hold your shift key and right click on the Alteryx icon on your desktop and "Run as Administrator". This is likely the reason that vadersentiment is failing. 

Labels