Install python packages in Alteryx
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Labels:
- Python
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello,
Anyone has insights on above? Thanks a lot
cheers
Terence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
In case this helps someone.
If you have the non-admin installation the install_type parameter should be 'install --user'
 
