LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Closed Thread
  Search this Thread
Old 01-26-2011, 08:08 AM   #1
msbstar
Member
 
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 error.
It tries to run the previously installed one not the new one. (The new version is 2.6).

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,
Hassan

------------------------------------------
>>> 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/__init__.py", line 15, in <module>
import _wx
File "/scisoft/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wxPython/_wx.py", line 3, in <module>
from _core import *
File "/scisoft/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wxPython/_core.py", line 15, in <module>
import wx._core
File "/scisoft/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/__init__.py", line 45, in <module>
from wx._core import *
File "/scisoft/lib/python2.5/site-packages/wx-2.8-gtk2-ansi/wx/_core.py", line 4, in <module>
import _core_
ImportError: libtiff.so.3: cannot open shared object file: No such file or directory
>>>
---------------------------------------------------------------
---------------------------------------------------------------

Last edited by msbstar; 01-26-2011 at 08:11 AM.
 
Old 01-26-2011, 08:19 AM   #2
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
Hi, I answered your other post. Looks like you cross posted this.
 
Old 01-26-2011, 08:24 AM   #3
msbstar
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.4
Posts: 122

Original Poster
Rep: Reputation: 16
Hi,
Thanks.
( I do not know how to delete some of my posts!!!)

What you suggested was more than I could understand.
Would you please explain it the way you would explain to an IDIOT.

Thanks.

--------------------------------
$ find /usr -name libtiff.so.*
/usr/lib32/libtiff.so.4
/usr/lib32/libtiff.so.4.3.3
--------------------------------
 
Old 01-26-2011, 11:14 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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.

http://www.linuxquestions.org/questi...python-858765/
http://www.linuxquestions.org/questi...45#post4238245
 
  


Closed Thread



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
Set Windows as Default OS when Dual Booting Ubuntu 10.10 allu john sudhakar Linux - Newbie 2 11-12-2010 10:07 PM
I can't find /etc/default/syslogd on this version of Ubuntu satimis Ubuntu 2 10-20-2010 02:34 AM
ubuntu 10.4 grub set default kernel to boot fyoder Linux - Software 2 10-02-2010 03:18 PM
How to set the default size of the frame of terminal in Ubuntu 8.04? cricketlong Linux - General 3 12-15-2008 09:02 AM
How to set the default Java version robbbert Linux - Software 4 03-20-2006 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:21 AM.

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