I just spent four hours debugging a boto3 issue, the root cause of which is running
pip install --target on older versions of pip ends up installing multiple versions of the same library in subdirectories, e.g. run
pip install --target lib requests and you get
lib/requests, then run it again and you get
lib/requests/requests, and so on, and so forth.
The default version of
pip that comes with the
python 2.7.10 machine is
1.4.1; the latest version of pip is
8.1.1. It would be nice if the machine came with a newer version.