2 Answers
- Newest
- Most votes
- Most comments
0
This is the config that worked for the Glue Ray notebooks Glue Version 4:
%%configure
{
'--additional-python-modules': 'boto3==1.34.144',
'--python-modules-installer-option': '--upgrade'
}
Just a note, this has to be added in its own cell without any extra magics and has to be executed before you start your session:
import boto3
print(boto3.__version__)
0
You can use %%configure or %additional_python_modules [1] magic to upgrade boto3 version. This needs to be done at the very beginning i.e. before a session is created -
%%configure
{
"--additional-python-modules":"boto3==1.34.144"
}
or
%additional_python_modules boto3==1.34.144
This version of boto3 has lakeformation list_lake_formation_opt_ins API.
answered 10 months ago
Relevant content
- asked 3 years ago