06 March 2026
05 June 2024
'Error loading MySQLdb module. Did you install mysqlclient?'
28 April 2024
exception can not find valid pkg-config name when installing mysql with pip
20 July 2023
08 May 2023
28 June 2021
Working with Django Templates & Static Files
Working with Django Templates & Static Files
https://www.digitalocean.com/community/tutorials/working-with-django-templates-static-files
27 June 2021
On Ubuntu, Creating Virtual Environments
On Ubuntu, creating Virtual Environments
https://packaging.python.org/tutorials/installing-packages/#creating-and-using-virtual-environments
python3 -m venv <DIR>
source <DIR>/bin/activate'<DIR>' is actually your site name, e.g. 'mysite'.
26 June 2021
On Windows, How to Install, Create and Activate a Python Virtual Environment (Project) for Django? mkvirtualenv is not recognized as an internal or external command, operable program or batch file
(For Windows)
How to Install, Create and Activate a Python Virtual Environment (Project) for Django?
mkvirtualenv is not recognized as an internal or external command, operable program or batch file
For Python 3.3 or newer, Commands for installing, creating and activate virtual environment has been changed.
You can install virtual environment using pip:
py -m pip install --user virtualenv
For creating new environment:
py -m venv myproject
To activate your virtual environment:
.\myproject\Scripts\activate
After activating virtual environment, You’ll see “(myproject)” next to the command prompt.