sqlalchemy.exc.InternalError: (pymysql.err.InternalError) Packet sequence number wrong - got 40 expected 1 解决办法 多创建几个Session来增删改查,就可以了 # base.py engine = create_engine( get_db_str(), echo=False, pool_recycle=300, poolclass=QueuePool, pool_