Handling case in which bs4 is not installed