Category: Python

  • Django with MariaDB Troubleshoot

    Django with MariaDB Troubleshoot

    If you are struggling with below error while deploying Django on VPS, this post may help and save you hours for MariaDB Troubleshoot. Did you install mysqlclient or MySQL-python? OSError: mysql_config not found ModuleNotFoundError: No module named ‘ConfigParser’ This is my 2nd times try out Django with MariaDB. The 1st one went smoothly. Couple of […]

  • Setup Django behind uWSGI and NGINX on CentOS 7

    Setup Django behind uWSGI and NGINX on CentOS 7

    Setting up a web server for Django could be challenging and headache. Let’s try to make it simple: Django behind uWSGI and NGINX on CentOS 7 from scratch. At the end, our complete stack of components will look like this: the web client <-> the web server <-> the socket <-> uwsgi <-> Django 1. Install […]

  • Setup Python3 Development Environment on Mac

    Setup Python3 Development Environment on Mac

    By default, you do not need to install or configure anything else to use Python 2. This article is aimed to serve as a shortcut or references on how to setup Python3 Development Environment. Basically you will need to install the following: 1. XCode & XCode Command Line Tools You can download and install XCode from AppStore. […]