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-in-Python-tool/ta-p/406244
Upgrade
from ayx import Package Package.installPackages(['google'],install_type="install --upgrade-strategy only-if-needed")
Install specific version
# With a specific versionAlteryx.installPackage("google==1.3")
Another possible way to upgrade the python package is to run the following command:
from ayx import PackagePackage.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.