YOLOV5运行train.py报错ImportError: cannot import name ‘COMMON_SAFE_ASCII_CHARACTERS‘ from ‘charset_norma

 运行yolov5中train.py代码时,出错:
ImportError: cannot import name 'COMMON_SAFE_ASCII_CHARACTERS' from 'charset_normalizer.constant'
# 解决方案:
一、
pip install --upgrade charset-normalizer
二、
若仍无法解决,则卸载charset_normalizer模块,再重新安装:
pip uninstall charset-normalizer
pip install charset-normalizer

你可能感兴趣的:(计算机视觉,人工智能)