At the moment I can't think of a better solution for the case when multimple versions of beautifulsoup is installed.