Hello
I tried to use the following python code to install a new packages in Alteryx.
- from ayx import Package
- Package.installPackages(package = "pulp")
On running above code in Altyerx's Jupyter notebook, I got error messages as captured in the screenshot. Any good idea how I should resolve this issue? The error message said using "--user" option, I am not sure what it means.
Appreciate if someone can help. Thanks a lot
Hello @tsnchan,
your code is correct, but seems you do not have permission to install any new package in Alteryx.
You will need to ask you admin to do it for you.
More details: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/How-To-Use-Alteryx-installPackages-...
Best Luck!
Niky
Thanks NikyN and KilianL
I installed Admin version of Alteryx designer, with the help from our IT department colleagues. Unfortunately, I cannot run as admin, as I don't have admin right for my laptop. Is there any work around for me to install python packages on Designer? Thanks
cheers
Terence
Hello,
Anyone has insights on above? Thanks a lot
cheers
Terence
Hi @tsnchan,
My understanding is that you should be able to download additional Python packages without admin privileges if you are running the non-Admin version of Designer (refer to the Python tool documentation: Python Tool (alteryx.com)). I tested this by running Designer Non-Admin 2022.1 on a machine without elevated rights and I was able to download the package without issue.
Hope that helps!
Taylor