cgpotts / cs224u

Code for Stanford CS224u

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

First cell of hw_sentiment.ipynb fails

eyast opened this issue · comments

Executing the first cell of the hw_sentiment.ipynb cell returns the error partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' on a newly install nlu environment using miniconda.

This was resolved by running this command in the conda environment:
pip install -U --force-reinstall charset-normalizer

(based on the post on pip install -U --force-reinstall charset-normalizer .

Thanks for this! Which character is causing the issue, though? I would prefer to remove that character if possible rather than doing that specialized (re)install. I myself do not know how to trigger this error, though – it's entirely new to me!