Pip install bs4 latest version. $ apt-get install python3-bs4.