I have a library, which consists of 3 files which are intended to be put in site python directory.
FbxCommon.py
fbxsip.so
fbx.so
Once these files are in place, Python can see fbx
package. How does this system work? What is inside SO
file?
If it is a DLL how can it be python version-dependent (it works with python 3.3 but doesn't work with python 3.5)
UPDATE
Distinguishing code is following
from fbx import *
lSdkManager = FbxManager.Create()
on Python 3.3 it just does nothing, while on Python 3.5 it throws this error:
Traceback (most recent call last):
File "/opt/pycharm-2017.2.2/helpers/pydev/pydevd.py", line 1599, in <module>
globals = debugger.run(setup['file'], None, None, is_module)
File "/opt/pycharm-2017.2.2/helpers/pydev/pydevd.py", line 1026, in run
pydev_imports.execfile(file, globals, locals) # execute the script
File "/opt/pycharm-2017.2.2/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/home/dims/PycharmProjects/FBXCheck/fbxcheck.py", line 2, in <module>
lSdkManager = FbxManager.Create()
AttributeError: type object 'FbxManager' has no attribute 'Create'