PDA

View Full Version : use wxPython within Maya 2013


Hooor
08-05-2012, 11:42 PM
Hi everyone

I want to ask you how I can import wxPython inside Maya 2013??

I was searching the net about the ability of use Maya with wxPython and I found that I can
use wxPython within Maya so could any body tell me how does that done??

Thanks a lot

Narann
08-09-2012, 08:58 AM
Get the same wxPython version that the python Maya version you use, put the liibs in the python path and you should be able to import your package. :)

zoharl
08-10-2012, 11:59 AM
And it would probably won't work and you'll need a patch:

http://forums.cgsociety.org/showthread.php?t=1063178

Narann
08-10-2012, 12:43 PM
Thanks zoharl. :)

Hooor
08-10-2012, 11:58 PM
Thanks a lot for your help

I will try doing that

DEVILSAN
10-27-2012, 01:40 PM
well I have wxPython for python 2.6,

i added it to path but still get error on import saying:
import wx
# Error: line 1: DLL load failed: The specified module could not be found.
# Traceback (most recent call last):
# File "<maya console>", line 1, in
# File "E:\Program Files\Autodesk\Maya2013\Python\Lib\site-packages\wx-2.8-msw-unicode\wx\__init__.py", line 45, in <module>
# from wx._core import *
# File "E:\Program Files\Autodesk\Maya2013\Python\Lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 4, in <module>
# import _core_
# ImportError: DLL load failed: The specified module could not be found. #

please help me run it... also anybody tried wxmaya ?

zoharl
10-27-2012, 08:23 PM
Why do you prefer it over qt?

I think your best bet would be to try and build the lib yourself in vs2010.

CaptainSam
10-31-2012, 09:25 PM
Why do you prefer it over qt?

I second that. Even if you get WxPython to work, it's gonna cause crashing and other problems, because it's not integrated with Maya's threading like Qt is - and getting help will be difficult, since most people use PyQt with Maya

CGTalk Moderation
10-31-2012, 09:25 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.