Issues with imports for Spam Classification TP

Issues with imports for Spam Classification TP

par Matteo Righi,
Nombre de réponses : 1

Good morning,

I am having some trouble with the imports for the TP Spam Classification.

I am on Mac using a fresh environment. I installed all the packages required at the beginning of the notebook. I get the following error on the line 'import spacy':

ModuleNotfoundError: no module named 'chardet'

During handling of the above exception, another exception occurred:

ImportError: cannot import name 'COMMON_SAFE_ASCII_CHARACTERS' from 'charset_normalizer.constant'


I tried installing Chardet (pip install chardet -U), then I get the following error:

partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import)


Any help would be appreciated. 

En réponse à Matteo Righi

Issues with imports for Spam Classification TP

par Deniz Bayazit,
Hi! What python version are you using + are you sure you opened the jupyter notebook in this new environment