You must install aliyun-python-sdk-core library no matter which product development kit you want to use. For example, to call the ECS SDK, you need to install aliyun-python-sdk-core library and aliyun-python-sdk-ecs library.
pip install aliyun-python-sdk-ecs