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 (venv) boby@sok-01:~/Downloads/django-deploy$ pip install mysqlclient==1.4.2.post1 Collecting mysqlclient==1.4.2.post1 Using

Running Python Application with gunicorn and nginx

Running Python Application with gunicorn and nginx

Create a service file for gunicorn root@django:~# cat /etc/systemd/system/gunicorn2.service [Unit] Description=gunicorn2 daemon Requires=gunicorn2.socket After=network.target [Service] User=ubuntu Group=www-data WorkingDirectory=/home/ubuntu/myapp/wagtail2 ExecStart=/home/ubuntu/myapp/venv/bin/gunicorn \

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

Getting started with Django Framework

Django is a python framework for developing web applications. To install Django, run pip install django To create a project,

Running Web Server with python SimpleHTTPServer

SimpleHTTPServer is a python module that allow you to run web server for static files. To start web server, run

Creating and using virtualenv

Creating and using virtualenv

To create a virtualenv, run virtualenv NAME_OF_VIRTUALENV On Ubuntu 18, this command will create virtualenv with Python 2.7. To create

virtualenv

virtualenv

Install virtualenv on Ubuntu Creating and using virtualenv virtualenv is used to create isolated python environments. With python3, you can

Install virtualenv on Ubuntu

Install virtualenv on Ubuntu

To install virtualenv on Ubuntu, run sudo apt install virtualenv

gunicorn

gunicorn

gunicorn behind Apache web server Running Python Application with gunicorn and nginx Serve a Django application using Gunicorn

Install jupyter notebook

Install jupyter notebook

To install jupyter notebook on Ubuntu run pip install jupyter To start jupyter notebook, create an empty folder, change to

Django Framework

Django Framework

Django is a Python framework. You can find more info at https://www.djangoproject.com Django Tutorials Getting started with Django Framework https://realpython.com/tutorials/django/