Flask 出現 module 'ssl' has no attribute 'wrap_socket'的錯誤

Flask Python 3.13  

出現 module 'ssl' has no attribute 'wrap_socket'的錯誤

解法

只要將 mysql-connector-python 版本更新到 >= 9.1.0 

mysql-connector-python>=9.1.0

就能在 Python 3.13 執行囉