Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > PythonCard

Reply
Thread Tools

PythonCard

 
 
Tequila
Guest
Posts: n/a
 
      01-30-2007
I'm having some trouble starting PythonCard on my PC.

I've downloaded and ran python-2.5.msi to install Python on my
machine. And PythonCard-0.8.2.win32.exe to install PythonCard.

When I try to run the program I get the following error:
======================================
C:\Python25\Lib\site-packages\PythonCard\tools
\codeEditor>codeEditor.py
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\PythonCard\tools\codeEditor
\codeEditor.py", line 13, in <module>
from PythonCard import about, configuration, dialog, log, menu,
model, resource, util
File "C:\Python25\lib\site-packages\PythonCard\about.py", line 8, in
<module>
import wx
ImportError: No module named wx
======================================

Does anyone know what the problem might be?

Thanks,
Tequila

 
Reply With Quote
 
 
 
 
Paul Watson
Guest
Posts: n/a
 
      01-30-2007
Tequila wrote:
> I'm having some trouble starting PythonCard on my PC.
>
> I've downloaded and ran python-2.5.msi to install Python on my
> machine. And PythonCard-0.8.2.win32.exe to install PythonCard.
>
> When I try to run the program I get the following error:
> ======================================
> C:\Python25\Lib\site-packages\PythonCard\tools
> \codeEditor>codeEditor.py
> Traceback (most recent call last):
> File "C:\Python25\Lib\site-packages\PythonCard\tools\codeEditor
> \codeEditor.py", line 13, in <module>
> from PythonCard import about, configuration, dialog, log, menu,
> model, resource, util
> File "C:\Python25\lib\site-packages\PythonCard\about.py", line 8, in
> <module>
> import wx
> ImportError: No module named wx
> ======================================
>
> Does anyone know what the problem might be?
>
> Thanks,
> Tequila


It would appear that you need to install wxPython also.

http://www.wxpython.org/
 
Reply With Quote
 
 
 
 
Gabriel Genellina
Guest
Posts: n/a
 
      01-30-2007
En Tue, 30 Jan 2007 18:45:49 -0300, Tequila <>
escribió:

> I'm having some trouble starting PythonCard on my PC.


Usually it's a good idea at least to read the installation instructions
http://pythoncard.sourceforge.net/wi...tallation.html

--
Gabriel Genellina

 
Reply With Quote
 
skip@pobox.com
Guest
Posts: n/a
 
      01-30-2007

Tequila> I'm having some trouble starting PythonCard on my PC. I've
Tequila> downloaded and ran python-2.5.msi to install Python on my
Tequila> machine. And PythonCard-0.8.2.win32.exe to install PythonCard.
...
Tequila> import wx
Tequila> ImportError: No module named wx

Tequila> Does anyone know what the problem might be?

Sorta looks like you need to install wxPython. In fact, the Windows
instructions for PythonCard mention downloading wxPython before downloading
PythonCard itself:

http://pythoncard.sourceforge.net/wi...tallation.html

If you're confident wxPython *is* installed, check to make sure it's
installed somewhere that Python will find it.

Skip
 
Reply With Quote
 
Tequila
Guest
Posts: n/a
 
      01-31-2007
On Jan 30, 6:26 pm, s...@pobox.com wrote:
> Tequila> I'm having some trouble starting PythonCard on my PC. I've
> Tequila> downloaded and ran python-2.5.msi to install Python on my
> Tequila> machine. And PythonCard-0.8.2.win32.exe to install PythonCard.
> ...
> Tequila> import wx
> Tequila> ImportError: No module named wx
>
> Tequila> Does anyone know what the problem might be?
>
> Sorta looks like you need to install wxPython. In fact, the Windows
> instructions for PythonCard mention downloading wxPython before downloading
> PythonCard itself:
>
> http://pythoncard.sourceforge.net/wi...tallation.html
>
> If you're confident wxPython *is* installed, check to make sure it's
> installed somewhere that Python will find it.
>
> Skip


Yeah, ummm... ok so, I overlooked the Windows install instructions
(thanks for the tip Gabriel

Once I installed wxPython all is good.

Thanks for everything all!!

Teq

 
Reply With Quote
 
 
 
Reply

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pythoncard Multiple components Adrian Smith Python 2 10-10-2003 02:05 PM
ANN: PythonCard 0.7.2 Kevin Altis Python 0 09-17-2003 04:03 AM
GUI versions using PythonCard are available Ron Stephens Python 0 09-13-2003 01:36 AM
PythonCard newbie question Karl Lopes Python 1 07-13-2003 04:59 PM
Form using HTML on PythonCard Luiz Siqueira Neto Python 3 07-04-2003 10:25 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57