Skip to main content

Posts

UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.

Use below command to resolve problem pip3 install PyQt5
Recent posts

Resolving Pandas problem

I used other good answers from here and didn't solve the problem (Ubuntu 18.04, Python3.8), still get this warning. Actually there is one more package is needed to be installed to solve the problem: sudo apt-get install lzma So the whole pipeline (run in the python source code folder): sudo apt-get install liblzma-dev sudo apt-get install lzma ./configure --enable-optimizations sudo make sudo make altinstall

How to install Python,PIP & Django in Linux OS

 Step - 1 : Open Terminal in computer/laptop Step -2 : Install Python in your computet/laptop type below command                  sudo apt-get install python3 Step - 3 : To install "pip" type below command                   sudo apt-get install python3-pip Step -4 : To install "Django" type below command                  pip3 install django                  sudo apt-get install python3-django # To check vesion of Python,pip & Django type below command 1. For python     python3 --version           (or)  python3   -V 2. For pip     pip3  --versio n            (or)     pip3  -V 3. For Django        django-admin --version

How to uninstall applicatuon from android device without rooting

  Requirement : 1. Window based computer 2. USB debuging on in your Phone  (Go to Developer option in your phone and On USB debuging Uninstall Application from your phone  : Step - 1 :  Download the file from given below link                  http://dl.google.com/android/repository/platform-tools-latest-windows.zip Step - 2 : Extract file after downloading and go to that folder(ex tracted folder) Step - 3 : Type "Cmd" in that folder then its open "Command P romt" Step - 4 : Type following "command" in Command prompt and press "Enter" key                     i.  adb devices                     ii. adb shell Step - 5 :  After typing above command then you need to Uninstall application from your phone which you want Step - 6 : Get your APK name by press and hold your application, like below image Step - 6 : Type following command in in Command prompt to uninstall the Application                  pm uninstall -k --user 0 APK name                 F

Single Linked List code

  #include <stdio.h> #include <stdlib.h> #include <conio.h> typedef   struct   node {      int   data ;      struct   node   * next ; } node ; node   * START ; int   size = 0 ; node *   createNode (); void   insertAtFirst ( int ); void   insertAtLast ( int ); void   insertAtAnyPosition ( int , int ); void   displayNode (); void   deleteLastNode (); node *   createNode (){      node   * create = ( node * ) malloc ( sizeof ( node ));      return   create ; } void   insertAtFirst ( int  data){      node   * insert ;      if ( START == NULL ){          START = createNode ();          START -> data = data;          START -> next = NULL ;          size ++ ;          printf ( " \n%d  is inserted successfully" ,data);     }      else {          insert = createNode ();          insert -> data = data;          insert -> next = START ;          START = insert ;          size ++ ;          printf ( " \n%d  is inserted successfully" ,data);     } }

Run C/C++ code in VSCode

  How to run C/C++ code in VSCode( Visiual Studio Code )  : Step - 1 :Download VSCode from given link below                   https://code.visualstudio.com/ Step -2 :Install VSCode after downloading Step -3 :Install C/C++ extension in VSCode as follow                i.)Click on " Extension " button                ii)Type C/C++ in search bar and install first one ,see below image Step -4 :Download " MinGW (Minimalist GNU Windows)" software from below link as follow               i) Go to  "  http://www.mingw.org/  "              ii) Click on "Downloads" option as follow                 iii)Click on given image  to download MinGW software                 iv)After Installation of MinGW software install other 2-component as follow                              a.)Select below 2-component & click on Mark for Installation                                       mingw32 base bin                                       mingw32-gcc-g++ ( Compiler )