I'm going to be making a dictionary program with a GUI but I fell at the first hurdle. I just installed a module (PyDictionary) but when I run the following code I get an error.
from PyDictionary import PyDictionary
dictionary = PyDictionary()
print(dictionary.meaning("fish"))
Which returns
The code that caused this warning is on line 3 of the file Dictionary.py. To
get rid of this warning, change code that looks like this:
BeautifulSoup(YOUR_MARKUP})
to this:
BeautifulSoup(YOUR_MARKUP, "lxml")
markup_type=markup_type))
{'Noun': ['any of various mostly cold-blooded aquatic vertebrates usually having scales and breathing through gills', 'the flesh of fish used as food', '(astrology', 'the twelfth sign of the zodiac; the sun is in this sign from about February 19 to March 20'], 'Verb': ['seek indirectly', 'catch or try to catch fish or shellfish']}