Here is the solution for ImportError: No module named MySQLdb install python-mysqldb using the following command (ubuntu ) apt-get install python-mysqldb in Fedora use yum install instead of apt-get install.
Category Archives: Fedora
[Linux][Python]How to assign os.system output to a python variable
#This python script is to get system’s VGA monitor info import commands command = “lspci | grep VGA ” status, vgaInfo = commands.getstatusoutput(command) print “VGA info=%s” % ( vgaInfo ) which will give the output VGA info=00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18) in my system
[Ubuntu][Fedora][Linux]Error – mysql_config: not found
Installing libmysqlclient-dev will solve the error sudo apt-get install libmysqlclient-dev If it still gives error , install python-dev sudo apt-get install python-dev In Fedora, use yum install instead of apt-get install
[Linux]add-apt-repository: command not found
if you are getting the error “add-apt-repository: command not found”, then execute below command in ubuntu (use yum instead of apt-get in Fedora) sudo apt-get install software-properties-common python-software-properties
[Python]ImportError: No module named PIL
Install python-imaging sudo apt-get install python-imaging -y use yum install in fedora
[Linux][Shell] What to do if locate command (linux shell command) is not listing the files, even though files are present
If locate command is not listing the files, even though files are present then Install mlocate using apt-get or yum then execute updatedb command ———– apt-get install -y mlocate updatedb
[Linux]How to set up fedora to build kernel module
For setting up fedora for building a kernel module, First check the kernel version using the following command, uname -a eg:- uname -a in my system gives Linux r.np 3.6.10-4.fc18.i686 #1 SMP Tue Dec 11 18:24:49 UTC 2012 i686 i686 i386 GNU/Linux So my kernel version is 3.6.10-4.fc18.i686 Now install kernel-devel package using yum installContinue reading “[Linux]How to set up fedora to build kernel module”
[Fedora][Linux]How to take screenshot in Linux
There is a software in fedora , screenshot(software name) which is equivalent to prt sc + mspaint option in windows
[Linux]How to install Skype 4.2 on Fedora 19/18/17/16/15/14
There are many libraries skype depends on , please check whether those are installed or not alsa-lib.i686 fontconfig.i686 freetype.i686 glib2.i686 libSM.i686 libXScrnSaver.i686 libXi.i686 libXrandr.i686 libXrender.i686 libXv.i686 libstdc++.i686 pulseaudio-libs.i686 qt.i686 qt-x11.i686 zlib.i686 If any of those above modules/libraries are not present , install the same using yum install or downliad the rpm file from the fedoraContinue reading “[Linux]How to install Skype 4.2 on Fedora 19/18/17/16/15/14”
Names of fedora versions
Fedora 7 – Moonshine Fedora 8 – Werewolf Fedora 9 – Sulphur Fedora 10 – Cambridge Fedora 11 – Leonidas Fedora 12 – Constantine Fedora 13 – Goddard Fedora 14 – Laughlin Fedora 15 – LoveLock Fedora 16 – Verne Fedora 17 – Beefy Miracle Fedora 18 –Spherical Cow Before fedora 7 , the project name was Fedora core