Simplest way to setup Virtual Environment for Django | Python |

Published: 30 September 2022
on channel: Code Relevel
172
like

#python #virtualenv #django
A concise method to setup virtual environment. why we need this in Python, Let's know?
Virtual environment avoids the need to install Python packages globally, How??
Imagine you are in a library where all the books are unorganized/disordered, you are not able to differentiate between the books which book belong to what category and you want to read a particular book, would it be possible for you to find it in one walk. No, you would take time to find the right book. Same scenario happens with the python library when you install too many packages inside it.
Virtual environment works as a bookrack by creating a separate isolated environment for each project. Let's Suppose you are working on two projects where each of the projects have different versions and they are kept in the same directory having same name, it will simply throw an error.
So by using virtual environment You can install and use necessary software in the /bin folder of the virtualenv.

These are some commands for django-admin:
Django-admin.py version
to display the current Django version.
django-admin.py check
Performs a series of checks to verify a given setup (settings/application code) is compatible with the current version of Django.

Instagram Link:
  / codetailed_  
Share your experience, if you like this video. If you have some suggestions then please do write them in the comment box.


On this page of the site you can watch the video online Simplest way to setup Virtual Environment for Django | Python | with a duration of hours minute second in good quality, which was uploaded by the user Code Relevel 30 September 2022, share the link with friends and acquaintances, this video has already been watched 172 times on youtube and it was liked by like viewers. Enjoy your viewing!