Hi all,
I'm trying to use wxPython from a fairly new installation of Fedora
Core 5. I installed wxPython using yum -y install wxPython and that all
seemed to work fine. However, when I run Python and do this:
import wx
I get this:
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site-packages/wx/__init__.py", line 45, in ?
from wxPython import wx
File "/usr/lib/python2.4/site-packages/wxPython/__init__.py", line
20, in ?
import wxc
ImportError: /usr/lib/libwx_gtk2-2.4.so.0: undefined symbol:
pango_x_get_con text
Anyone have any ideas what's going on and what I can do to fix this?
Thanks in advance,
Doug 3 1723
writeson wrote: Hi all,
I'm trying to use wxPython from a fairly new installation of Fedora Core 5. I installed wxPython using yum -y install wxPython and that all seemed to work fine. However, when I run Python and do this:
import wx
I get this:
Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/wx/__init__.py", line 45, in ? from wxPython import wx File "/usr/lib/python2.4/site-packages/wxPython/__init__.py", line 20, in ? import wxc ImportError: /usr/lib/libwx_gtk2-2.4.so.0: undefined symbol: pango_x_get_con text
Anyone have any ideas what's going on and what I can do to fix this?
Thanks in advance, Doug
Check the FC5 Forums, I think the basic answer was to remove the python
"compat"
rpms.
Jerry
writeson wrote: Hi all,
I'm trying to use wxPython from a fairly new installation of Fedora Core 5. I installed wxPython using yum -y install wxPython and that all seemed to work fine. However, when I run Python and do this:
import wx
I get this:
Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.4/site-packages/wx/__init__.py", line 45, in ? from wxPython import wx File "/usr/lib/python2.4/site-packages/wxPython/__init__.py", line 20, in ? import wxc ImportError: /usr/lib/libwx_gtk2-2.4.so.0: undefined symbol: pango_x_get_con text
Anyone have any ideas what's going on and what I can do to fix this?
Thanks in advance, Doug
Here is a link to a message in the wxpython-users mailing list archive,
which apparently gives the solution to your problem. http://tinyurl.com/gf276
I cannot vouch for it. I installed wxPython on FC5 without any
problems, using the FC4 binary rpm's from wxPython.org.
Hope it works for you.
Frank Millman
Frank,
Thanks for the link, that solved the problem for me with FC5! That was
a great help to me!
Doug This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Batista, Facundo |
last post by:
I'm still deciding about using Tkinter or wxPython for a project I have
(sigefi, on SF).
The decision is not made, I have to finish first a little program that will
be done in both GUIs, and then make a choice (I'll write something about the
experiment, I'll let you know).
In this context, I got worried when a friend of mine (codeveloper of sigefi)
could not install PyNSource because wxPythonGTK been always using private
methods from...
|
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, well, I've tried so many things trying to get
wxPython built that I really don't care to relive the...
|
by: linuxfreak |
last post by:
Hi guys,
Has anyone installed wxPython on Fedora Core 4. Apparently it need
the libstdc++.so.5 file while Fedora installs the newer libstdc++.so.6
file. I tried installing the libstdc rpm from fedora core 3 which would
have installed the required file but Fedora does not allow multiple
versions of the same file . Man this is frustrating. Help desparately
required..........
|
by: contact |
last post by:
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)
on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
Traceback (most recent call last):
|
by: scottholdensmith |
last post by:
I'm a little confused. I installed wxPython on my Thinkpad T23, on
which I'm running Fedora Core 5. I did it using Yum and Yumex, and
everything installed fine. In fact, I now have PyShell and PyCrust in
my applications. Within those two apps I can use wx as a module. But
from the bash shell, when I use the same old Python interpreter, I
can't use the wx module. It's there, under
/usr/lib/python2.4/site-packages/wx-2.6-gtk2-unicode/ (under...
| |
by: stevenq1967 |
last post by:
Hello everyone,
I'm new at this so please be gentle. I have Python 2.4 on fc4. I
installed easy_install and Python in my home directory since I don't
have root permissions. It works fine. Now I want to install wxPython. I
downloaded wxPython-src2.6.3.3.tar.bz2 from the site and now I'm trying
this from the commnad line:
easy_install --install-dir
/usr/people/stevenq/lib/python2.4/site-packages/ --dry-run...
|
by: John Nagle |
last post by:
I've been installing Python and its supporting packages on
a dedicated server with Fedora Core 6 for about a day now.
This is a standard dedicated rackmount server in a colocation
facility, controlled via Plesk control panel, and turned over
to me with Fedora Core 6 in an empty state. This is the
standard way you get a server in a colo today.
Bringing Python up in this completely clean environment is
a huge hassle, and it doesn't...
|
by: Atli |
last post by:
Hi guys.
So, I got it into my head this morning that I needed a Linux HTTP server.
Naturally that means installing Apache with PHP and last but not least, MySQL.
I decided to use Fedora Code 6, but after an hour of downloading I decided I wanted this to happen sometime this year, so I dug up an old set of Fedora Core 4 cd's and installed that.
Now, after installing Fedora Core 4, which included everything I needed for my server, I...
|
by: bartonc |
last post by:
There is one major improvement for Windows users regarding OutputStreams.
Plus C++ list objects being returned for things like thisWindow.GetChildren().
The big news:
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |