Re: Python Tool Pip upgrade message
- 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
Hi Paul,
Total newbie to Python and pip install on Alteryx server but I'm trying upgrade to a newer version of exchangelib and requests. We're still on an older release of Alteryx so wondering what pip command is or right way to upgrade those modules. I don't want to risk messing up server install so any advice or help is appreciated.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi TimN,
Could you Open Alteryx as an Admin, by right clicking on the icon and selecting run as administrator, and pull a python tool down onto the canvas. Then try this:
support@alteryx.com | community.alteryx.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks, James. I tried but forgot to mention we go thru a Proxy server. Can you tell the command line version of this? I do something like this:
pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org --trusted-host xxxxx -i xxxxx/pypi-proxy/simple pillow.
When I ran as you said it did not error out but I don't think it upgraded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You can utilize these templates:
#No password and username
Alteryx.installPackages(package="exchangelib",install_type="install --upgrade --proxy proxy.server:port")
#With password and username
Alteryx.installPackages(package="exchangelib",install_type="install --upgrade --proxy [user:passwd@]proxy.server:port") For future reference the help documentation for installing packages is here:
And, as Alteryx.installPackages is just a wrapper for pip install you can also look here for reference:
https://docs.python.org/3/installing/index.html
support@alteryx.com | community.alteryx.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
James,
Thank you.
Tim
