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_context
Anyone have any ideas what's going on and what I can do to fix this?
Thanks in advance,
Doug 3 1711
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_context
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_context
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...
|
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....
|
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...
|
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:
...
|
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...
|
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...
|
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,...
|
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...
|
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: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |