LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   cannot start browser on ubuntu ,12.04 (https://www.linuxquestions.org/questions/linux-general-1/cannot-start-browser-on-ubuntu-12-04-a-4175516608/)

syedk01 08-28-2014 12:55 AM

cannot start browser on ubuntu ,12.04
 
If I start mozilla or chrome I get usr/lib/python2.7/libdynload/pyexpat.so wrong ELF class Elfclass64 I had upgraded from python 2.7 to 3.3 am running ubuntu 12.04 64 bit on thinkpad t410

ventsyv 08-28-2014 04:37 PM

That means you are mixing 32 and 64 bit binaries. Also, python3 is installed along side 2.7, but 2.7 is still the default one used on your system. To make sure that's the case, run :
Quote:

python --version
To fix the promblem, try the following:

Quote:

sudo apt-get remove firefox
sudo apt-get remove python (this will remove the default 2.7 version)
cd /usr/bin
sudo ln -s python3 python (this will make python 3 the default python on your system)
sudo apt-get check
sudo apt-get clean
sudo apt-get install firefox
sudo apt-get install chromium (for the open source version of google chrome)
firefox &


All times are GMT -5. The time now is 05:03 AM.