Hi,
I'm trying to install pip install --upgrade google-api-python-client on the jupyter notebook in alteryx.
I knew we can install packages by using,
Alteryx.installPackage(package="google")
But how can we upgrade a package?
Hi @Ronal_bal
This topic worth a look: https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/How-To-Use-Alteryx-installPackages-...
Upgrade
from ayx import Package
Package.installPackages(['google'],install_type="install --upgrade-strategy only-if-needed")
Install specific version
# With a specific version
Alteryx.installPackage("google==1.3")
Hi @Ronal_bal
Another possible way to upgrade the python package is to run the following command:
from ayx import Package Package.installPackages(package='google',install_type='install --upgrade')
Hope this helps, if it does please like this post and if it helps resolve your problem, mark it as a solution. If you have any other questions, please let us know.