In 3.1.6 Dependency parsing, when running this code:
%%capture --no-display
from spacy import displacy
text="#Smoking affects multiple parts of our body."
parsed=nlp(text)
displacy.render(docs=[parsed],jupyter=True, options={'distance': 90})
I get the error:
TypeError: init() got an unexpected keyword argument 'encoding'