All Stories

Install build-base on Alpine Linux

Build-base is pretty much the same as the build-essentials in Debian-based systems. It will provide the tools needed for building the kernel modules. Let’s see how to install build-ba...

In Alpine Linux, Nov 25, 2022

Resolve: "gyp verb check python checking for Python executable "python2" in the PATH"

While I was working locally on some Python project pulled from an archived Git repo, I needed few hours just to setup the environment on a Windows machine, and get it up and running. ...

In Python, Nov 24, 2022

Resolve: "WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8)"

As I was trying to get my Python Docker Compose stack up and running on my MacBook Pro, I’ve noticed the following message: Warning: The requested image's platform (linux/amd64) does ...

In Docker, Nov 23, 2022

PS Command Not Found in Amazon Linux 2

Procps package might not be part of some Amazon Linux 2 docker images. So if you want to list the active processes you will get: ps command not found. It can be easily resolved by ins...

In PS, Amazon Linux 2, Nov 23, 2022

Resolve: "No module named <insert-package-name-here>" in Python

Building and compiling Python apps could be troublesome chiefly when copy-and-pasting another code from the internet without installing or importing the module itself. Sound familiar?...

In Python, Nov 22, 2022

Resolve: "No module named oauth2client" in Python

Just like the previous post Resolve: No module named apiclient.discovery in Python this time being:ModuleNotFoundError: No module named 'oauth2client'

In Python, Nov 21, 2022

Install FFmpeg on Ubuntu 22.04

Recently I was playing with telegram bots deployments and got stuck on some dependencies related to FFmpeg. So I needed to install FFmpeg on Ubuntu 22.04. Let’s see how to install it.

In FFmpeg, Ubuntu, Nov 21, 2022

Resolve: "No module named apiclient.discovery" in Python

A few days ago I was getting the following error: ImportError: No module named apiclient.discovery.

In Python, Nov 20, 2022

Install Zlib on Amazon Linux 2

Usually, zlib comes preinstalled with most of the Amazon Linux images. But in case you get: bash: zlib: command not found then you need to install zlib on Amazon Linux 2.

In Zlib, Amazon Linux 2, Nov 19, 2022

Create, manage and remove virtual environments in Python

Dependency issues are common among every popular programming language out there including Python. Simply put, when working on multiple projects a certain package might be required by ...

In Python, Nov 19, 2022