In God we trust; all others must bring data… attributed to W. Edwards Deming

Tag Archives: python

After years of monitoring my data usage and going over, I decided to make a dashboard (yes, like your car dashboard) for my ISP data usage.

I decided to publish this piece of code with the hopes that would help other people setting something up, where they could be notified via text message/SMS on their current data usage and predict what their usage will be by the end of the [billing] cycle.

Recently I started to so some dev on python and noticed that on the server that I was going to do the work I don’t have sudo access. In the past, this has not been an issue, but in this case getting sudo access is almost impossible and not doable. So my only option is being able to run pip (to install python packages) as an user.

After painfully researching on how to successfully do this, I was able to make it work. I hope that this helps others in the future. Good luck!

So, if you have RHEL 6, you might be stuck with Python 2.6. But, not really. Even though you might not be able to install a new version of python using yum, you can still download a new version of python and install it in your environment. Now, you can install it and replace the current version or you can install another version and have two python in your system.

Install GCC by typing

1

sudo yum install gcc

Go to

1

cd/usr/src/

Now, let’s download a release from python.org. In this example we will be using Python 3.5.0.