473,387 Members | 1,545 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1929
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(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!
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
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++...
7
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...
1
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...
1
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....
0
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...
6
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...
0
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...
2
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):...
4
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...
8
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...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...

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.