I have thrift installed on my machine (Ubuntu 12.04).The version of thrift that I am using is 0.9.0.I have tried to generate python file for a thrift interface file as follows
thrift -gen python example.thrift
I get the following error
[WARNING:generation:1] Unable to get a generator for "python".
Do I need to install any additional packages in order for thrift to be able to generate python files.I am able to generate java file using thrift.
Try replacing the "python" with "py":
thrift -gen py example.thrift
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With