move to the folder
cd python-script
Setup virtualenv
python3 -m venv <env-name>
Create a virtualenv
virtualenv <env-name>
activate the virtualenv
source <env-name>/bin/activate
install boto3
pip install boto3
run script
cd ..
python <python file name>
Top comments (0)