Keep SSH Session Alive

Problem Formulation I just tried to run AutoGPT on an EC2 instance using SSH from my local Windows machine. But here’s the annoying part: the connection always closes and AutoGPT can only work in small ~10 minute increments. When I return to my machine, I need to SSH into my instance and restart the program. … Read more

Yum on EC2 Linux Causes ModuleNotFoundError: No module named ‘dnf’ [Fixed]

I just used Yum to install Git on my Linux AWS EC2 instance using the following commands: 👼 Error But when running these commands in my shell, I got the error messages ModuleNotFoundError: No module named ‘dnf’: 😡 [ec2-user@ip-172-31-19-40 ~]$ sudo yum update -y Traceback (most recent call last): File “/usr/bin/yum”, line 61, in <module> … Read more

How to Use Python 3.X (3.9, 3.10, or 3.11) as Default for “python3” in Linux?

Ready to embrace the power of Python 3.11 as your default Python3 version? 🐍 Let’s make it happen! Just follow these simple steps: 1️⃣ First, let’s check your current default Python version. Open your terminal and run the following command: python3 –version In my AWS instance, the command python3 pointed to my installed Python version … Read more

Bitcoin OP_RETURN: Exploring Its Functionality and Use Cases

Bitcoin, a decentralized digital currency, uses a unique scripting system in its transactions to provide greater flexibility and security. One of the important script opcodes in this system is the OP_RETURN, which has provided an avenue for embedding data within the Bitcoin blockchain. 👇💡 The OP_RETURN is a script opcode that marks a transaction output … Read more

How to Install Pip? 5 Easy Steps

In this article, I’ll quickly guide you through the installation steps for Python’s package installer pip. But first things first: 👇 What Is Pip? ✅ pip is the package installer for Python used to install and manage software packages (also known as libraries or modules) written in Python. pip makes it easy to install, upgrade, … Read more