The ‘certbot==0.40.0’ distribution was not found and is required by the application

So you upgraded your Python. “Now I can deploy my project,” you thought. You got all the packages in place, including Certbot for SSL. Ready to generate the certs, you typed sudo certbot -h. And then… pkg_resources.DistributionNotFound: The ‘certbot==0.40.0’ distribution was not found and is required by the application or from acme.magic_typing import Union # pylint: […]

Fix ModuleNotFoundError No module named ‘apt_pkg’

This is a common issue when you manually update your system’s Python version. Let’s understand the problem: When we install the python binding for apt (either python3-apt or python-apt), it places a shared object file within /usr/lib/python3/dist-packages. It might look like this: apt_pkg.cpython-310-x86_64-linux-gnu.so Here, 310 is my python version, maybe your one will say 36m python-3.6 or maybe 38 python-3.8 Now, most of […]

Fix, BEWARE: your OS is not officially supported by Playwright(python edition)

So, you were working on a project using playwright; You were super happy to finally ditch selenium. Then one night you installed some packages using Apt. You see python3.11 is getting installed. Even better you thought in your mind.. Then after everything is done, you see pip has kind of removed all of your installed […]

Install go without going insane or anything.

Well, if you’re tired of installing go manually, the installers polluting your PATH or GOROOT is always tripping. Then this is for ya. To, start of we’ll be installing GO directly from the repo. If you’re using ubuntu or any debian based distro, do. sudo apt install golang -y Now, GOLANG and GOROOT is already set by the binary, but the thing is, by default GOROOT will […]

Fix unmet dependency(ibc6-dev breaks libgcc-9-dev)

Well, this kind of unmet dependency occurs mostly when you mess around with the sources list. now, if you’re running a stable release of distro and used the unstable sources to install somethin, please add that too. else, some other dependency may occur too. First things first, install gcc-8-base by typing sudo apt install gcc-8-base if already installed install gcc-9-base type-in, sudo […]

Scroll to top