Skip to content

TypeError: __init__() got an unexpected keyword argument 'encoding' #7

@mbayer-pitt

Description

@mbayer-pitt

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions