Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FBX Python SDK for Python 3.9

24 REPLIES 24
SOLVED
Reply
Message 1 of 25
hansgodard
7471 Views, 24 Replies

FBX Python SDK for Python 3.9

hansgodard
Participant
Participant

Hello!

I'm using Maya 2023 and Unreal Engine 5 which both are using Python 3.9

But I can't find the SDK here :   https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-3

 

If you install it for Windows,  it is compiled until Python 3.7 only
Please compile it !

 

-hans

FBX Python SDK for Python 3.9

Hello!

I'm using Maya 2023 and Unreal Engine 5 which both are using Python 3.9

But I can't find the SDK here :   https://www.autodesk.com/developer-network/platform-technologies/fbx-sdk-2020-3

 

If you install it for Windows,  it is compiled until Python 3.7 only
Please compile it !

 

-hans

24 REPLIES 24
Message 2 of 25
ross-g
in reply to: hansgodard

ross-g
Participant
Participant

Unfortunately until Autodesk decide to provide pre-compiled bindings for a variety of Python versions (I think it's reasonable to expect they should pre-compile for all Py versions their DCC support, but they do not...) your only real choice is to build it yourself.

 

Sadly they also don't provide any documentation on how to build it yourself, but there is some info out there. This is the best I was able to find (worked for me on a recent version):

https://www.ralphminderhoud.com/blog/build-fbx-python-sdk-for-windows/

 

The other benefit to building yourself is that you can add bindings for the methods that Autodesk has just forgotten to include themselves.

0 Likes

Unfortunately until Autodesk decide to provide pre-compiled bindings for a variety of Python versions (I think it's reasonable to expect they should pre-compile for all Py versions their DCC support, but they do not...) your only real choice is to build it yourself.

 

Sadly they also don't provide any documentation on how to build it yourself, but there is some info out there. This is the best I was able to find (worked for me on a recent version):

https://www.ralphminderhoud.com/blog/build-fbx-python-sdk-for-windows/

 

The other benefit to building yourself is that you can add bindings for the methods that Autodesk has just forgotten to include themselves.

Message 3 of 25
hansgodard
in reply to: hansgodard

hansgodard
Participant
Participant
Accepted solution

I figured,  here it is for those interested,

 

and NOT thank you Autodesk,  this is not serious at all.


https://www.dropbox.com/s/rlvj4aoui3w32js/fbxsdk_py3.9_py3.10_.7z?dl=0

I figured,  here it is for those interested,

 

and NOT thank you Autodesk,  this is not serious at all.


https://www.dropbox.com/s/rlvj4aoui3w32js/fbxsdk_py3.9_py3.10_.7z?dl=0

Message 4 of 25
wangjunjie04
in reply to: hansgodard

wangjunjie04
Observer
Observer

Was just looking for it today and you posted it right on time, thank you! 

Was just looking for it today and you posted it right on time, thank you! 

Message 5 of 25
wangjunjie04
in reply to: hansgodard

wangjunjie04
Observer
Observer

Oh seems a password is needed for the zip file, can I have the password pls 

0 Likes

Oh seems a password is needed for the zip file, can I have the password pls 

Message 6 of 25
hansgodard
in reply to: hansgodard

hansgodard
Participant
Participant

I edited the link, sorry about that

I edited the link, sorry about that

Message 7 of 25
MortenBohne
in reply to: hansgodard

MortenBohne
Observer
Observer

Hey, I tried the versions from your dropbox link, but couldn't get any of them to work. I tested them in maya2023.2 (python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)]) and blender3.30 (pyhon 3.10.2 (main, Jan 27 2022, 08:34:43) [MSC v.1928 64 bit (AMD64)])

 

but both places i got the error

 

# Error: DLL load failed while importing fbx: %1 is not a valid Win32 application.
# # Traceback (most recent call last):
# # File "<maya console>", line 5, in <module>
# # ImportError: DLL load failed while importing fbx: %1 is not a valid Win32 application.

 

It was the same error i ran into when i tried to build it myself a while back on a different machine. Did anyone get it to work on these versions?

Hey, I tried the versions from your dropbox link, but couldn't get any of them to work. I tested them in maya2023.2 (python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)]) and blender3.30 (pyhon 3.10.2 (main, Jan 27 2022, 08:34:43) [MSC v.1928 64 bit (AMD64)])

 

but both places i got the error

 

# Error: DLL load failed while importing fbx: %1 is not a valid Win32 application.
# # Traceback (most recent call last):
# # File "<maya console>", line 5, in <module>
# # ImportError: DLL load failed while importing fbx: %1 is not a valid Win32 application.

 

It was the same error i ran into when i tried to build it myself a while back on a different machine. Did anyone get it to work on these versions?

Message 8 of 25
scottdunn449
in reply to: hansgodard

scottdunn449
Community Visitor
Community Visitor

Thanks all for the solutions

0 Likes

Thanks all for the solutions

Message 9 of 25
beautifulrobot
in reply to: hansgodard

beautifulrobot
Observer
Observer

hey hans - when i download the zip all the files show 0 bytes. not sure if i'm doing something wrong?

0 Likes

hey hans - when i download the zip all the files show 0 bytes. not sure if i'm doing something wrong?

Message 10 of 25
hansgodard
in reply to: beautifulrobot

hansgodard
Participant
Participant

try again to download,  indeed the file were weird.... it's fixed

0 Likes

try again to download,  indeed the file were weird.... it's fixed

Message 11 of 25
beautifulrobot
in reply to: hansgodard

beautifulrobot
Observer
Observer

that works! thx for posting this!

that works! thx for posting this!

Message 12 of 25
rafaellozano3d
in reply to: hansgodard

rafaellozano3d
Community Visitor
Community Visitor
God bless you man
0 Likes

God bless you man
Message 13 of 25
lukasamsa1
in reply to: hansgodard

lukasamsa1
Community Visitor
Community Visitor

First of all, thank you very much for this solution, it made my project possible, but unfortunately only on Windows. I was wondering if anyone had any success in compiling the python fbx sdk (python 3.8+) for Linux? Any help would be much appreciated!

0 Likes

First of all, thank you very much for this solution, it made my project possible, but unfortunately only on Windows. I was wondering if anyone had any success in compiling the python fbx sdk (python 3.8+) for Linux? Any help would be much appreciated!

Tags (2)
Message 14 of 25
regalir
in reply to: hansgodard

regalir
Autodesk
Autodesk

With the latest released version 2020.3.7 that can be downloaded now, the FBX python is now pre-compiled for Python 3.10 and comes in a wheel archive so it can be installed with a pip install command. We also upgraded the FBX Python bindings so they can be compiled with SIP 6.6.x for your specific Python interpreter version (see the instructions in the README.md)

0 Likes

With the latest released version 2020.3.7 that can be downloaded now, the FBX python is now pre-compiled for Python 3.10 and comes in a wheel archive so it can be installed with a pip install command. We also upgraded the FBX Python bindings so they can be compiled with SIP 6.6.x for your specific Python interpreter version (see the instructions in the README.md)

Message 15 of 25
hansgodard8NPBT
in reply to: regalir

hansgodard8NPBT
Observer
Observer

what pip command ?

0 Likes

what pip command ?

Message 16 of 25
regalir
in reply to: hansgodard

regalir
Autodesk
Autodesk

pip is a Python module (and most likely you already have it). To install the FBX Python you should run:

python3 -m pip install fbx-2020.3.7-cp310-cp310-manylinux1_x86_64.whl

pip is a Python module (and most likely you already have it). To install the FBX Python you should run:

python3 -m pip install fbx-2020.3.7-cp310-cp310-manylinux1_x86_64.whl
Message 17 of 25
hansgodard8NPBT
in reply to: regalir

hansgodard8NPBT
Observer
Observer

thx I would never have guessed the name of that package !
any documentation about that ?

0 Likes

thx I would never have guessed the name of that package !
any documentation about that ?

Message 18 of 25
regalir
in reply to: hansgodard

regalir
Autodesk
Autodesk

You mean about the FBX wheel or pip?

When you download and extract fbx202037_fbxpythonsdk_linux.tar.gz, you end up with:

regalir@localhost 2020.3.7]$ ls -l
total 34284
-rw-r--r--.  1 regalir regalir 34997334 Mar 12 17:25 fbx-2020.3.7-cp310-cp310-manylinux1_x86_64.whl
-rw-rw-r--.  1 regalir regalir      105 Mar 12 17:33 FBX_SDK_Online_Documentation.html
-rw-rw-r--.  1 regalir regalir    96856 Mar 12 17:33 License.txt
-rw-rw-r--.  1 regalir regalir     1610 Mar 12 17:33 README.md
drwxr-xr-x. 10 regalir regalir      184 Mar 12 17:25 samples
[regalir@localhost 2020.3.7]$ 

 

0 Likes

You mean about the FBX wheel or pip?

When you download and extract fbx202037_fbxpythonsdk_linux.tar.gz, you end up with:

regalir@localhost 2020.3.7]$ ls -l
total 34284
-rw-r--r--.  1 regalir regalir 34997334 Mar 12 17:25 fbx-2020.3.7-cp310-cp310-manylinux1_x86_64.whl
-rw-rw-r--.  1 regalir regalir      105 Mar 12 17:33 FBX_SDK_Online_Documentation.html
-rw-rw-r--.  1 regalir regalir    96856 Mar 12 17:33 License.txt
-rw-rw-r--.  1 regalir regalir     1610 Mar 12 17:33 README.md
drwxr-xr-x. 10 regalir regalir      184 Mar 12 17:25 samples
[regalir@localhost 2020.3.7]$ 

 

Message 19 of 25
hansgodard8NPBT
in reply to: regalir

hansgodard8NPBT
Observer
Observer

I know pip 🙂
was more curious about this module name , but as long as it works 😆

fbx-2020.3.7-cp310-cp310-manylinux1_x86_64.whl

 

0 Likes

I know pip 🙂
was more curious about this module name , but as long as it works 😆

fbx-2020.3.7-cp310-cp310-manylinux1_x86_64.whl

 

Message 20 of 25
zcc06280301
in reply to: regalir

zcc06280301
Observer
Observer

Hello, does the FBX Python SDK support python3.11?

0 Likes

Hello, does the FBX Python SDK support python3.11?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report