Amit Saha
2017-10-04 06:32:25 UTC
Hi all,
I am attempting to generate Python3 code as follows, but haven't been able
to. This is a dump of the relevant information:
I have a git clone of the source and then did:
$ ./configure --with-java=false --with-cpp=false --with-lua=false
--with-ruby=false --with-dart=false --with-D=false
...
Building Python Library ...... : yes
Building Py3 Library ......... : yes
...
Python Library:
Using Python .............. : /usr/bin/python
Using Python version ...... : Python 2.7.12
Using Python3 ............. : /usr/bin/python3
Using Python3 version ..... : Python 3.5.2
Using trial ............... : /usr/bin/trial
...
$ make
$ make install
$ thrift -strict -r --gen py:py3 tutorial.thrift
[FAILURE:generation:1] Error: unknown option py:py3
Would appreciate any help.
Best Wishes,
Amit.
I am attempting to generate Python3 code as follows, but haven't been able
to. This is a dump of the relevant information:
I have a git clone of the source and then did:
$ ./configure --with-java=false --with-cpp=false --with-lua=false
--with-ruby=false --with-dart=false --with-D=false
...
Building Python Library ...... : yes
Building Py3 Library ......... : yes
...
Python Library:
Using Python .............. : /usr/bin/python
Using Python version ...... : Python 2.7.12
Using Python3 ............. : /usr/bin/python3
Using Python3 version ..... : Python 3.5.2
Using trial ............... : /usr/bin/trial
...
$ make
$ make install
$ thrift -strict -r --gen py:py3 tutorial.thrift
[FAILURE:generation:1] Error: unknown option py:py3
Would appreciate any help.
Best Wishes,
Amit.