Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Python / Anyone successful in using python in MoBu 2011?
  RSS 2.0 ATOM  

Anyone successful in using python in MoBu 2011?
Rate this thread
 
42208
 
Permlink of this thread  
avatar
  • Takichi
  • Posted: 20 April 2010 01:59 AM
  • Total Posts: 5
  • Joined: 15 January 2007 03:38 PM

Hi,

I installed MoBu 2011 Tryout but I’m unable to get Python working! At openening the script editor window, I get error messages: ...ImportError: No module named pyfbsdk… and ...ImportError: No module named pyfbsdk_additions…

I tried it on two computers: Win7 64 and Win7 32

Anyone was able to use Python in MoBu 2011?

Thanks in advance



Replies: 0
avatar
  • sublist
  • Posted: 21 April 2010 11:02 PM

Of course. Works as intended.

You must have some Installation or OS Problems here…



Replies: 0
avatar
  • Takichi
  • Posted: 29 April 2010 12:51 AM

It seems it had a conflict with the Python and PyQt installed on my computers, removed both and replaced with Python 2.6.4 and PyQt 4.5.2 and everything is working.



Replies: 0
avatar
  • ekso
  • Posted: 09 November 2010 12:34 AM

I have the same problem:

Traceback (most recent call last):
  
File "<MotionBuilder>"line 1in <module>
ImportErrorNo module named pyfbsdk_additions

Traceback 
(most recent call last):
  
File "C:/Users/XXXXX/AppData/Local/Autodesk/MB2011x64/config/Python/pythonidelib.py"line 1in <module>
    
import pyfbsdk
ImportError
No module named pyfbsdk

Opening Python Editor and doing import pyfbsdk also gives no module named. This is on a few weeks old install of Win7 64bits. Just tried installing Python 2.6.4 but it didn’t chang anything. I will try to install PyQt, but I doubt it might make a difference.

I can’t find anything on the net related to this error. Any ideas? It’s kinda urgent.

Edit: reinstalling MoBu2011 did the trick. Don’t know if having Python and PyQt already installed made any difference though…



Replies: 0
avatar

That’s a problem with your python path. Search for how to add those files/directories to your python path and you should be able to solve it that way rather than resorting to a reinstall.



Replies: 0
avatar
  • steebu
  • Posted: 07 December 2010 08:55 AM

tallystick 27 November 2010 08:39 PM

That’s a problem with your python path. Search for how to add those files/directories to your python path and you should be able to solve it that way rather than resorting to a reinstall.

I don’t think so.

I applied the hotfix for the 64-bit version of MB 2011 and I am experiencing the same issue with being unable to run scripts (from pyfbsdk import * doesn’t work).

I set the PYTHON_PATH environment variable to point to the directory containing pyfbsdk and I still get the same error.

I’ve contacted Autodesk support but still no word.

Anyone else?



Replies: 0
avatar

Did you add it to your .pth or from the python shell? Adding it from the python shell only works for that session.

http://greeennotebook.com/2010/0...th-in-windows-and-ubuntu/



Replies: 0