python

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 […]

Berserk

Berserk is a commandline tool written in python2 to increase website traffic. Combining privoxy and tor, Berserk visits websites with different ips as well as different user-agents. But the thing is, Berserk only anonymizes the https traffic cause privoxy can either be configured as a https or http proxy. And I absolutely loathe to add the http support. So websites with http header will not […]

avatar
Scroll to top