Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 01-26-2011, 09:18 AM   #1
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Rep: Reputation: 16
Question How to set the default version of wxPython in Ubuntu?

Hi Everybody,

I have installed wxPython on my Ubuntu 9.10. But when I type
"import wxPython" in "python environment it returns the following

Does it need a PATH to be added in ".bashrc"? If so what should I write as a PATH for it?

I would be very grateful for any help.

With best regards,

>>> import wxPython
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/scisoft/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wxPython/", line 15, in <module>
import _wx
File "/scisoft/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wxPython/", line 3, in <module>
from _core import *
File "/scisoft/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wxPython/", line 15, in <module>
import wx._core
File "/scisoft/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/", line 45, in <module>
from wx._core import *
File "/scisoft/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/", line 4, in <module>
import _core_
ImportError: cannot open shared object file: No such file or directory
Old 01-26-2011, 12:14 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set the default version of wxPython in Ubuntu? msbstar Linux - Newbie 3 01-26-2011 12:14 PM
Set Windows as Default OS when Dual Booting Ubuntu 10.10 allu john sudhakar Linux - Newbie 2 11-12-2010 11:07 PM
I can't find /etc/default/syslogd on this version of Ubuntu satimis Ubuntu 2 10-20-2010 03:34 AM
ubuntu 10.4 grub set default kernel to boot fyoder Linux - Software 2 10-02-2010 04:18 PM
How to set the default Java version robbbert Linux - Software 4 03-20-2006 03:44 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:23 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration