Minor issue: shaderman only starts from command line.

5 views
Skip to first unread message

abud...@gmail.com

unread,
Aug 13, 2007, 4:53:38 AM8/13/07
to shaderman
On Windows,

If I just try to double-click prototype.py, or run 'prototype.py' from
the shell, it fails with:

Traceback (most recent call last):
File "D:\svnhome\shaderman\prototype.py", line 13, in ?
import wx
ImportError: No module named wx

However, if I run: "python prototype.py", it works.

Any idea why this happens?

renderguy

unread,
Aug 13, 2007, 6:55:03 AM8/13/07
to shaderman
Hi there,

This sounds like an issue with your Python install/configuration
rather than an issue with ShaderMan itself.

Try re-registering, or re-installing, wxPython... that will hopefully
resolve the problem.

For reference, I've tried this on Windows XP with both Python 2.4 and
Python 2.5 and can't recreate this.

abud...@gmail.com

unread,
Aug 14, 2007, 6:25:37 AM8/14/07
to shaderman
Ah, you're right!

I know what the problem was: I have a few different installed versions
of Python (2.3.4, 2.4.x, 2.5), and by default, windows was using a
version where I didn't have wx installed. I got rid of my old
installations, and now it uses Py 2.5, so it all works :)

Alexei Puzikov

unread,
Aug 14, 2007, 11:15:10 AM8/14/07
to shad...@googlegroups.com
Ohhhh :) Glad to hear that :)

Alexei

Reply all
Reply to author
Forward
0 new messages