Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

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

Install google api on juypter in alteryx

Ronal_bal
8 - Asteroid

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? 

2 REPLIES 2
Felipe_Ribeir0
16 - Nebula

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")

 

PanPP
Alteryx Alumni (Retired)

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.

Labels