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')
Solved! Go to Solution.
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.
Thank you @Felipe_Ribeir0 . It worked with this Alteryx.installPackage("logger==1.3") . I wish these details are mentioned on documentation.