I've got the wxPython blues

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

Thread Tools Display Modes
  01 January 2011
I've got the wxPython blues

The script editor won't let me use wxpython. I'm using the version that's compatible with python 2.6 and the version of maya that I'm using is 2010.

The error that it gives me when i type in "import wx" is

Error: ImportError: No module named wx

any help would be much appreciated!
  01 January 2011
you need to add wxpython path into maya's path,like this:

import sys
if sys.path.__contains__(r'D:\Python25\Lib\site-packages\wx-2.8-msw-unicode'):

#import wx # it will work

btw, maya has itself information loop sys,wx script could be executed in maya but could not interact with maya.
I'm steelheart,I'm still hard.

  01 January 2011
Thanks for responding! I was beginning to think that I was on my own. I'll give that a shot.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 09:05 PM.

Powered by vBulletin
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.