DEV Community

Discussion on: How to create a new Django project: step by step guide

Collapse
 
corentinbettiol profile image
Corentin Bettiol • Edited

Maybe using the recommended use of pip is better than just calling pip (we don't know the pip/python version from this call and it may change with system/python updates) ?

Example:

python3 -m pip install venv
python3 -m venv .venv
.venv/bin/activate
python3 -m pip install django
Enter fullscreen mode Exit fullscreen mode

(also I use venv since it's the default way of creating virtualenvs using Python3)

Collapse
 
arikaturika profile image
Arika O

Sure, we can do things multiple ways. If you're concerned with the version, your approach is better suited. Thank you for mentioning it.