Hello, so I'm new to Python and am trying to use pyDev for eclipse to write some python scripts and plugins using the Maya Python API. Everything seems to be set up fine, however I only have code completion for the built in python modules and modules with the .pyd extension (i.e. _OpenMaya.pyd) found in the Maya Python site-package. The modules I need to get at have the are in that same directory, but have the .pyc extension (i.e. OpenMaya.pyc)
Any help or insight into what's going on would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, so I'm new to Python and am trying to use pyDev for eclipse to write some python scripts and plugins using the Maya Python API. Everything seems to be set up fine, however I only have code completion for the built in python modules and modules with the .pyd extension (i.e. _OpenMaya.pyd) found in the Maya Python site-package. The modules I need to get at have the are in that same directory, but have the .pyc extension (i.e. OpenMaya.pyc)
Any help or insight into what's going on would be appreciated.
Have you tried setting it in the forced builtins: http://www.fabioz.com/pydev/manual_101_interpreter.html
Cheers,
Fabio
Ah OK, that did the trick. I added each module that used the .pyc extension to the Forced builtin libs and it's working great. Thanks!
Hi,
Anything that can be done to make it work also with the Python cmds / script in Maya ?