Python 3.3 works great, but won't load in Python 3.5+
$ PYTHONPATH=lib/Python33_x64 python3 Python 3.5.2 (default, Sep 14 2016, 11:28:32) [GCC 6.2.1 20160901 (Red Hat 6.2.1-1)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import FbxCommon >>> FbxCommon.FbxManager.Create() Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: type object 'FbxManager' has no attribute 'Create' >>> dir(FbxCommon.FbxManager) ['__class__', '__delattr__', '__dict__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__le__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__'] >>> type(FbxCommon.FbxManager) <class 'sip.wrappertype'>
This works fine in Python 3.3.
$ PYTHONPATH=lib/Python33_x64 python33 Python 3.3.6 (default, Oct 21 2016, 22:30:00) [GCC 6.2.1 20160916 (Red Hat 6.2.1-2)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import FbxCommon >>> FbxCommon.FbxManager.Create() <fbx.FbxManager object at 0x7f26d414fc20>
Hello,
I have the same issue with the python 3.5. Is there any specific reason why the python binding of the sdk is stuck at the 3.3 version ?
3.3 is starting to get very old, and most of the tool we use keep on following python upgrades continuously, it's a shame we cannot use the sdk on our pipeline because of that.
Thanks a lot,
I'm hitting this problem as well at the moment. My codebase is python 3.5, and implementing a python script which produces fbx has been a nightmare of versioning issues. When will we have 3.5 support?
Still hoping for an official response from someone at Autodesk on this. I would love 3.5+ support. If Autodesk doesn't want to do it, they could at least open-source this library and we'll do it.
Can't find what you're looking for? Ask the community or share your knowledge.