Install google api on juypter in alteryx
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Ronal_bal
8 - Asteroid
‎12-08-2022
12:56 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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?
Labels:
- Labels:
- Developer Tools
- Python
2 REPLIES 2
Felipe_Ribeir0
16 - Nebula
‎12-08-2022
01:08 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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)
‎12-08-2022
07:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
