diff --git a/docs/source/install.rst b/docs/source/install.rst index 7d8c896f7..920c8f5d5 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -183,13 +183,29 @@ AWS Glue Python Shell Jobs .. note:: Glue Python Shell Python3.9 has version 2.15.1 of awswrangler `baked in `_. If you need a different version, follow instructions below: +Using pip +^^^^^^^^^ + +1 - In the AWS console, open your Glue Python Shell job's *Job details* tab. + +2 - Scroll down and expand the *Advanced properties*. + +3 - In the *Job parameters* section, add `--additional-python-modules` as *Key* and `awswrangler` as *Value*. + +You can also specify optional dependencies or set a version in the *Value* field, e.g. `awswrangler[redshift]==3.9.0`. +For details, see reference below. + + +Using a Whl file +^^^^^^^^^^^^^^^^^ + 1 - Go to `GitHub's release page `_ and download the wheel file (.whl) related to the desired version. Alternatively, you can download the wheel from the `public artifacts bucket `_. 2 - Upload the wheel file to the Amazon S3 location of your choice. 3 - Go to your Glue Python Shell job and point to the S3 wheel file in -the *Python library path* field. +the *Python library path* field of the *Job details* tab. `Official Glue Python Shell Reference `_