Posts

Showing posts with the label python

Fixing pssh (parallel-ssh) Problems on Debian 10 with Python 3.7

Python reminds me of PHP many years ago, when multiple incompatible versions could exist on one server. Do you need another version? The best solution back then was a new server, because any update or installation could break the entire global environment. Half a year after the “Sunsetting Python 2”, major distributions still continue to install Python 2 by default, and it becomes a challenge not to replace the default version after some update or after installing a new package.

Salto Events Sniffer Service

Simple Python service to resend events from a SALTO server to email for the tech team.

Script to generate a MAC address

Very simple and useful script to generate a MAC address. Applicable for Docker, Xen, KVM, and other virtual environments.

Fail python-pip after upgrade on Debian 8 and 9

Sometimes after running pip install --upgrade pip , pip fails with the error ImportError: cannot import name main . Here’s the simplest way to fix it.