I’m developing python code in a Cloud9 environment. Tried setting the default python version to 3, but “python” still runs python 2. It’s not a big deal to type “python3” each time, but “pip install boto3” only installed the module for python 2.
Finally, this adaptation of a command I found on stackoverflow worked:
python3 -m pip install --user boto3