ros_tensorflow
ros_tensorflow copied to clipboard
Issue with python version
Hi, thanks alot for the code!
I have python 2.7 and I followed the instructions you provide however, I get the following error :
class DescriptorBase(metaclass=DescriptorMetaclass): ^ SyntaxError: invalid syntax
Can you please help me out?
Hello, this type of problem is generally due to a problem with the code syntax, please carefully check your code.
Hi @cong
Thanks for replying! The issue here is with 'metaclass' which does not work with python 2.7. So I think the issue here is the compatibility between different versions of tensorflow, protobuf and python on ubuntu 18.04. The same error generated when I try to do import tensorflow as tf