you are trying to run the python 2 version of beautifulsoup to python 3 code example Example: python bs4 install pip install bs4 #this'll do the work