From: Phil T. <phi...@fr...> - 2004-11-27 22:51:22
|
Hi All, I'm excited to get PythonCard installed, but I'm wondering which Python I should use. I have both the native OS X Python as well as Fink's Python, so when I installed PythonCard, it went into /sw/lib/python2.3, rather than /Library/Python. As a result, when I run minimal.py, for example, I get this: PhilBook:/sw/lib/python2.3/site-packages/PythonCard/samples/minimal user$ ./minimal.py Traceback (most recent call last): File "./minimal.py", line 8, in ? from PythonCard import model File "/sw/lib/python2.3/site-packages/PythonCard/model.py", line 24, in ? from wxPython.wx import wxPySimpleApp, wxFrame, wxMessageDialog, wxICON_EXCLAMATION, wxOK, wxVERSION_STRING ImportError: No module named wxPython.wx What's the best way of getting around this error message? I imagine it has something to do with the two python's, with the wxPython stuff being installed under one python and PythonCard being installed with the other one, right? P +~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+ { Phil Thomson { home: http://www.sfu.ca/~pthomson { label: http://centibel.org/ { group: http://groups.yahoo.com/group/databenders/ +~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+~+ SDF Public Access UNIX System http://www.freeshell.org/ Geekier than you since 1987. |