Mysql-connector-python not working:


After I install mysql-connector-python, version = 8.0.19 using pip, it removes protbuf = 3.11.3 of which tensorflow 2.1.0 has a requirement.

After that, I am unable to run commands like rasa train and I get the following error: AttributeError: ‘google.protobuf.pyext._message.RepeatedCompositeCo’ object has no attribute ‘append’.

Can you please help me?


I had the same problem. I re-installed protobuf = 3.11.3 and it worked fine again. For the connection to mysql, I switched to using pymysql which is what rasa suggest installing when using mysql for the tracker store.

Thank you Marc.