In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Can we upgrade a python package?

lagisettya
7 - Meteor

Is it possible to upgrade a python package like pandas in Alteryx? I tried this but it dint work.

 

Package.installPackages(package='pandas',install_type='install --upgrade')

 

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

Hi @lagisettya 

 

Yes, it is possible. Why it didnt work for you? Can you share the errors that you got?

 

Take a look at this topic:

How To: Use Alteryx.installPackages() in Python to... - Alteryx Community

 

You can use this command to install specific versions:

from ayx import Package 
Alteryx.installPackage("logger==1.3")

 

Or this one, to upgrade the package:

from ayx import Package
Package.installPackages(['pandas'],install_type="install --upgrade-strategy only-if-needed")

It is a good idea to start Alteryx as admin before using them.

lagisettya
7 - Meteor

Thank you @Felipe_Ribeir0 . It worked with this Alteryx.installPackage("logger==1.3") . I wish these details are mentioned on documentation.

Labels
Top Solution Authors