Skip to main content

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

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  --version

           (or)

    pip3  -V

3. For Django

       django-admin --version

Comments

Popular posts from this blog

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

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 )