How To Fix Error PyPI’s XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future

Recently when I run the command pip search pygame in a terminal, it show me the error message like RuntimeError: PyPI’s XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future. This article will tell you how to fix it.

How To Fix Error PyPI’s XMLRPC API is currently disabled due to unmanageable load and will be deprecated in the near future Read More »

How To Use Python Pillow To Implement Image Zoom Operation, Batch Scale Image Size, And Create Image Thumbnail

This article will tell you how to use the Python pillow module Image class’s method resize() to implement a single image zoom operation and how to use it to batch modify multiple images size. It will also tell you how to create an image thumbnail using the pillow Image class’s method thumbnail().

How To Use Python Pillow To Implement Image Zoom Operation, Batch Scale Image Size, And Create Image Thumbnail Read More »

How To Fix The Error waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 13083 (unattended-upgr)

Recently, I run the command $ sudo apt update in my Ubuntu virtual machine, it runs successfully. But after that, when I run the command $ sudo apt upgrade, it show me the warning message Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 12827 (unattended-upgr). This article will tell

How To Fix The Error waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 13083 (unattended-upgr) Read More »