Skip to content

TypeError: cannot pickle '_io.TextIOWrapper' object #233

Description

@hadifar

Hi dear maintainers,

After running the provided command in Readme:

python -m wikiextractor.WikiExtractor enwiki-latest-pages-articles.xml.bz2

it throws the following exception:

 ForkingPickler(file, protocol).dump(obj)
TypeError: cannot pickle '_io.TextIOWrapper' object

MacOS Catalina
python 3.8.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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