I have tried several times to install wxPython on Fedora Core 2. The
installation seems to go fine (from sources), but when I try to import the
wx module I keep getting the following error:
=============== =============== =============== =============== =============== ==
Python 2.4.2 (#1, Sep 29 2005, 13:42:11)
[GCC 3.3.3 20040412 (Red Hat Linux 3.3.3-7)] on linux2
Type "help", "copyright" , "credits" or "license" for more information. import wx
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File
"/usr/local/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py",
line 42, in ?
from wx._core import *
File
"/usr/local/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
line 4, in ?
import _core_
ImportError: /usr/local/lib/libwx_gtk2ud_co re-2.6.so.0: undefined symbol:
pango_x_get_con text
=============== =============== =============== =============== =============== ==
Any help or explanation would be greatly appreciated. 1 1926 co*****@ljbsoft ware.com ha scritto: I have tried several times to install wxPython on Fedora Core 2. The installation seems to go fine (from sources), but when I try to import the wx module I keep getting the following error:
<-cut->
Any help or explanation would be greatly appreciated.
For a my customer I had tried a lot of time, but without success to
compile and install wx 2.6.x
But luckily there is a precompiled package on wxpython.org.
Have you try it?
Michele This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Anand |
last post by:
I am calling a python script from LabVIEW. This is achieved by making
a dll call to python22.dll. It works perfectly well for most of my
code. I now want to throwup dialog boxes from python. It works just
fine if i run the code once.
but when i call the same piece of code the second time,
wxPython.wx.miscc does not exist for some reason. I dont know how this
gets deleted. I guess this happens during some kind of clean up. The
code that...
|
by: Tinmean K.H.Liu |
last post by:
Hi!
I install wxPython under WinXP
when I want to use some simple sample, there is an error message:
File "C:\Python22\Lib\site-packages\Pythonwin\pywin\framework\scriptutils.py",line 301, in RunScript
exec codeObject in __main__.__dict__
File "C:\Documents and Settings\Tinmean\temp_desktop\python_0921\wx1.py", line 3, in ?
from frame import Frame
ImportError: No module named frame
|
by: wang xiaoyu |
last post by:
Hello:
i want use activex in wxpython program,but when i use MakeActiveXClass
an exception occurs.
this is my source code dealing the DICOM ocx.I must note that in this
program "hwtxcontrol" is a ocx developed my me use vc6,this ocx works
fine in wxpython.
but you can see i only change this ocx with a new DICOM ocx and set up
eventClass,
|
by: mdk.R |
last post by:
Hello all:
i'am installed wxPython 2.5 and Python2.3.4..i try execute script
with wxPython but it show error:
Traceback (most recent call last):
File "E:\py\test.py", line 7, in ?
import wx
File "E:\py\wx.py", line 10, in ?
from wxPython.wx import *
File "D:\Python23\Lib\site-package
import _wx
|
by: zxo102 |
last post by:
Hi everyone,
I am using a python socket server to collect data from a socket
client and then control a image location ( wxpython) with the data,
i.e. moving the image around in the wxpython frame.
But the "app.MainLoop()" in wxpython looks like conflicting with
the "while 1:" in socket server. After I commented the
"app.MainLoop()", everything is working except two things:
1. if I click anywhere on the screen with the mouse, the image is...
| |
by: jojoba |
last post by:
HI
I wrote a little wxpython program with an embedded windows media
player.
It worked great. Recently, I reinstalled windows and then wxpython
(most likely a newer version than i had before). Now when i run the
exact same code, i get this error:
File "C:\Documents and
Settings\jojoba.DEMO-019591FB22\Desktop\Projects\SrAsse
ts\sr.py", line 353, in __init__
|
by: kkt49 |
last post by:
# vim: et sw=4 ts=8 sts
from wxPython.wx import *
import sys, os, time
import pywintypes
import win32serviceutil
import win32service
import win32event
import win32process
|
by: blaine |
last post by:
The wxPython group is a bit stale compared to this group, so I'll give
it a shot :)
(READ: Originally when I started htis post, Python 2.5 at the shell
did not work (identical behavior to eclipse). I'm not sure why, but
it has since worked fine with no problems. Not sure whats going on
there... I didn't change anything. Anyways...)
Ok so I am having this problem. I am using OS X 10.4. I use
MacPython and installed wxPython a few...
|
by: Netwatcher |
last post by:
im try to activate the tutorial code for wxPython,
it is working properly when i tell it to import * from wxPython.wx
but with an error about the package,
i've done as i was told to change the import to wx
and change all wxsomething to wx.something
but when i start it it gives me an error that say
Traceback (most recent call last):
File "C:/Python25/Sd", line 32, in <module>
app = MyApp(0)
|
by: YarrOfDoom |
last post by:
I just installed wxPython on my computer (Windows "fails-a-lot" Vista, 32bit, Python 2.6, PIL and pyOpenGL installed).
However, when I try to import the wxPython module, I get this:
>>> import wxPython
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import wxPython
File "C:\Python26\lib\site-packages\wx-2.8-msw-ansi\wxPython\__init__.py", line 7, in <module>
DeprecationWarning, stacklevel=2)
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
| |
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |