Old questions, but I guess you have installed tableau-api-lib (with hyphens) but trying to import tableau_api_lib (with underscores).