AttributeError: partially initialized module ‘charset_normalizer‘ has no attribute ‘md__mypyc‘

问题描述:装tensorflow后,import tensorflow as tf 报错

版本搭配Python=3.x+cuda=11.2+cudnn=8.1+tensorflow=2.10

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

 原因:缺少软件包

解决方法

pip install chardet

问题解决!!!

AttributeError: partially initialized module ‘charset_normalizer‘ has no attribute ‘md__mypyc‘_第1张图片

 

你可能感兴趣的:(python)