Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 "/tmp/imbalanced-learn/imblearn/__init__.py", line 34, in <module>

from . import combine


 "/tmp/imbalanced-learn/imblearn/combine/__init__.py", line 5, in <module>

from ._smote_enn import SMOTEENN


 "/tmp/imbalanced-learn/imblearn/combine/_smote_enn.py", line 7, in <module>

from sklearn.base import clone


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/sklearn/__init__.py", line 74, in <module>

from .base import clone


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/sklearn/base.py", line 20, in <module>

from .utils import _IS_32BIT


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/sklearn/utils/__init__.py", line 22, in <module>

from . import _joblib


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/sklearn/utils/_joblib.py", line 7, in <module>

import joblib


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/joblib/__init__.py", line 119, in <module>

from .parallel import Parallel


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/joblib/parallel.py", line 28, in <module>

from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend,


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/joblib/_parallel_backends.py", line 22, in <module>

from .executor import get_memmapping_executor


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/joblib/executor.py", line 14, in <module>

from .externals.loky.reusable_executor import get_reusable_executor


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/joblib/externals/loky/__init__.py", line 12, in <module>

from .backend.reduction import set_loky_pickler


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/joblib/externals/loky/backend/reduction.py", line 125, in <module>

from joblib.externals import cloudpickle
# noqa: F401


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/joblib/externals/cloudpickle/__init__.py", line 3, in <module>

from .cloudpickle import *


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/joblib/externals/cloudpickle/cloudpickle.py", line 152, in <module>

_cell_set_template_code = _make_cell_set_template_code()


 "/home/lemaitre/miniconda3/envs/tmp/lib/python3.8/site-packages/joblib/externals/cloudpickle/cloudpickle.py", line 133, in _make_cell_set_template_code

return types.CodeType(
TypeError: an integer is required (got type bytes)

Traceback (most recent call last):


 "/home/mgoerner/mwe.py", line 12, in <module>

doc = nlp(my_str)


 "/home/mgoerner/.miniconda3/envs/minerva/lib/python3.8/site-packages/spacy/language.py", line 427, in __call__

doc = self.make_doc(text)


 "/home/mgoerner/.miniconda3/envs/minerva/lib/python3.8/site-packages/spacy/language.py", line 453, in make_doc

return self.tokenizer(text)
TypeError: Argument 'string' has incorrect type (expected str, got MyString)
