You will see this error when you try to install a PIP package. This error message means Python setuptools is missing or broken. $sudo pip2.7 Traceback (most recent call last): File “/usr/bin/pip2.7”, line 6, in <module> from pkg_resources import load_entry_point ImportError: No module named pkg_resources #Fix1: Just re-install the Python setuptools to fix the […]
Getting something done in Linux with Python, Bash and Java be like this
Getting something done in Linux with Python, Bash and Java be like this 😛 True, right? For example, you want to write a script which returns IP address of a domain name. Let’s see length of code and time required to write the same in Python, Bash and Java. In Bash, /usr/bin/bash host www.easyaslinux.com In […]
How to get Build status of Jenkins Job using python script (Video)
Most of us might have gone through situations where we need to check status of a Jenkins Job and do some automations based on it. In this article, let me get you through steps on how you can check build status of last Jenkins job using Python script. Step1: Use Jenkins API: Yeah, Jenkins has […]
How to run Python, Perl, Ruby, Bash – any script with Django Views
Have you ever wondered how we can run a ready-made script with Django ? In this article, I will explain how to run / execute any script( Python , Perl , Ruby , Bash ..etc) from Django views. I hope you have installed and configured Django on your box. If not, read my article on “How to Install and configure […]
How to Install and configure Django to render HTML Template in 3 steps (Video)
Let me get you through steps to install and configure Django server to render a HTML template. As you already know Django is a popular High-level Python Web framework using which you can build heavy User Interface/ Web application/Rest API. In this article, I will explain relevant configuration which required for you to get your […]