473,586 Members | 2,863 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

wxPython problem

Hy. I'm new in linux (Ubuntu 7.10) as well as in python. I installed
IDLE, and i installed package python-wxgtkX. I start IDLE and when i
want co compile my aplication all windows close. Also when i vrite
smoethin lik thile in IDLE:

import wx
app = wx.App()
wx.Frmae(none, -1)

same thing, Please help! Thanks!
Nov 28 '07 #1
3 1945
On Nov 28, 1:06 pm, SMALLp <po...@email. t-com.hrwrote:
Hy. I'm new in linux (Ubuntu 7.10) as well as in python. I installed
IDLE, and i installed package python-wxgtkX. I start IDLE and when i
want co compile my aplication all windows close. Also when i vrite
smoethin lik thile in IDLE:

import wx
app = wx.App()
wx.Frmae(none, -1)

same thing, Please help! Thanks!
I'm not sure, but I don't think you downloaded the package correctly.
Go here for complete instructions:

http://wxpython.org/download.php

I think you need to replace the "X" in "python-wxgtkX" with the
release number. Something like "python-wxgtk2.8" or some such.

Then try to import wx and see if that works.

If none of that works, post to the wxPython user's group which can be
found at the link above.

Mike
Nov 28 '07 #2
ky******@gmail. com wrote:
On Nov 28, 1:06 pm, SMALLp <po...@email. t-com.hrwrote:
>Hy. I'm new in linux (Ubuntu 7.10) as well as in python. I installed
IDLE, and i installed package python-wxgtkX. I start IDLE and when i
want co compile my aplication all windows close. Also when i vrite
smoethin lik thile in IDLE:

import wx
app = wx.App()
wx.Frmae(non e, -1)

same thing, Please help! Thanks!

I'm not sure, but I don't think you downloaded the package correctly.
Go here for complete instructions:

http://wxpython.org/download.php

I think you need to replace the "X" in "python-wxgtkX" with the
release number. Something like "python-wxgtk2.8" or some such.

Then try to import wx and see if that works.

If none of that works, post to the wxPython user's group which can be
found at the link above.

Mike
Ups. i installed python-wxgtk2.8 package!
Nov 28 '07 #3
SMALLp wrote:
ky******@gmail. com wrote:
>On Nov 28, 1:06 pm, SMALLp <po...@email. t-com.hrwrote:
>>Hy. I'm new in linux (Ubuntu 7.10) as well as in python. I installed
IDLE, and i installed package python-wxgtkX. I start IDLE and when i
want co compile my aplication all windows close. Also when i vrite
smoethin lik thile in IDLE:

import wx
app = wx.App()
wx.Frmae(none , -1)

same thing, Please help! Thanks!

I'm not sure, but I don't think you downloaded the package correctly.
Go here for complete instructions:

http://wxpython.org/download.php

I think you need to replace the "X" in "python-wxgtkX" with the
release number. Something like "python-wxgtk2.8" or some such.

Then try to import wx and see if that works.

If none of that works, post to the wxPython user's group which can be
found at the link above.

Mike
Ups. i installed python-wxgtk2.8 package!
I'm still having the problem! i installed new version of wxPyton, and
now I'v noticed that when i'm writing in IDLE
app = wx.App()
frame = wx.Frame(None, -1, 'My frame') it crashes when writing last
bracket. It works
with PyShell so if no one can halp sugest goot alternative to IDLE.
Nov 28 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
4188
by: Daniel Ehrenberg | last post by:
I'm trying to learn wxPython, but I can't seem to find much documentation. The wxPython website says that all advanced (and even some basic) documentation for wxPython is only available in C++ syntax in the main wxWindows documentation. It also says that the samples will help, but I can't seem to make sense of them. Should I just use a...
7
11892
by: SeeBelow | last post by:
Do many people think that wxPython should replace Tkinter? Is this likely to happen? I ask because I have just started learning Tkinter, and I wonder if I should abandon it in favor of wxPython. Mitchell Timin -- "Many are stubborn in pursuit of the path they have chosen, few in
1
2557
by: timothy.williams | last post by:
I'm trying to install wxPython 2.5.3.1 using Python 2.3.2 on a Fedora 2 machine. I have python in a non-standard place, but I'm using --prefix with the configure script to point to where I have everything. The make install in $WXDIR seemed to go fine. I have the libxw* libraries in my lib/ directory libwx_base-2.5.so@ ...
1
2974
by: James Stroud | last post by:
Hello All, I will soon have an excuse to install a new operating system on my computer. I would like to know exactly what operating system I should have so that I can get wxPython going. wxPython is my only hold-out on my current system. wxPython seems to need gnome. So I have tried to build garnome and it didn't build all the way..and,...
0
1651
by: Robin Dunn | last post by:
Announcing ---------- The 2.6.3.0 release of wxPython is now available for download at http://wxpython.org/download.php. There have been many enhancements and fixes implemented in this version, many of which are listed below and at http://wxpython.org/recentchanges.php. What is wxPython?
6
2394
by: Robin Dunn | last post by:
Announcing ---------- The 2.6.3.2 release of wxPython is now available for download at http://wxpython.org/download.php. This is a mostly bug fix release and takes care of several "unfortunate features" discovered in the 2.6.3.0 release made last week. A summary of changes is listed below and at http://wxpython.org/recentchanges.php.
0
1307
by: Robin Dunn | last post by:
Announcing ---------- The 2.6.3.2 release of wxPython is now available for download at http://wxpython.org/download.php. This is a mostly bug fix release and takes care of several "unfortunate features" discovered in the 2.6.3.0 release made last week. A summary of changes is listed below and at http://wxpython.org/recentchanges.php.
2
2903
by: Marco | last post by:
Hi, I have a problem to install wxPython on my MacBook (Pythonversion 2.5). If would install the wxPython (python setup.py install), then I got this error: Traceback (most recent call last): File "/Users/marco/Desktop/flexo1/wxpython/wxPython-src-2.8.3.0/ wxPython/setup.py", line 49, in <module> copy_file('config.py', 'wx/build',...
4
2971
by: stef | last post by:
hello, I'm trying to move from Delphi to Python (move from MatLab to Python already succeeded, also thanks to this discussion group). From the discussions in this list about "the best" GUI for Python, it now seems to me that wxPython is thé choice for my kind of applications. I've no experience with wxPython yet, I just run a few...
8
2643
by: Sean DiZazzo | last post by:
Is there something special you have to do to get a wxPython app to run remotely under xwindows? My Tkinter apps always automatically work that way, so I was surprised to even be confronted with this problem. ~Sean
0
7839
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8200
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7954
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8215
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3836
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3864
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2345
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1448
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1179
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.