How to install Python 10 on CentOS 7

First, install the dependency Install OpenSSL as the openssl-devel package provided by CentOS is old version. Install OpenSSL from source

ModuleNotFoundError: No module named ‘PIL’

When running a python application, I got the error message ModuleNotFoundError: No module named ‘PIL’ To fix the error install

This version of ChromeDriver only supports Chrome version

When running a python application, I get the error message To fix the error, download the chrome driver for your

OSError: mysql_config not found

When installing the python mysqlclient module with pip, I got the error “OSError: mysql_config not found”. (venv) [email protected]:~# pip install

Uvicorn

Uvicorn is a lightning-fast ASGI server used to serve python ASGI frameworks like FastAPI, Django Channels, Quart, BlackSheep, etc… https://www.uvicorn.org

Flask Python framework

Flask Python framework

Flask is a Python framework. You can find more info at the official website. https://flask.palletsprojects.com/ How to start a Flask

Python mechanize HTTP Error 403 request disallowed by robots.txt

When running following python script i get error “HTTP Error 403 request disallowed by robots.txt” To fix this, find Add

error: Python.h: No such file or directory

When install dlib python module, i get error This is because missing python3-dev package. To fix, install If you are

ERROR: Failed building wheel for mysqlclient

ERROR: Failed building wheel for mysqlclient

When install mysqlclient python module, i get error Fixed by installing

pip install mysqlclient mysql_config: not found

pip install mysqlclient mysql_config: not found

On Ubuntu 18.04, when i install mysqlclient python module, i get error this is fixed by installing libmysqlclient-dev ERROR: Failed

Running Python Application with gunicorn and nginx

Running Python Application with gunicorn and nginx

Create a service file for gunicorn Here /home/ubuntu/myapp/wagtail2 = path to the folder where web application is. /home/ubuntu/myapp/venv/bin/gunicorn = is

pycharm python editor

Installing PyCharm Community Edition on Ubuntu

PyCharm Community Edition is a free python editor from JetBrains. You can download it from https://www.jetbrains.com/pycharm/download/#section=linux Download and extact the