to configure virtual environment 1. python<version> -m pip install virtualenv 2. go to project folder and type:- virtualenv <name of the project> 3. source <project_name>/bin/activate 4. Once it is activated you will see the name of your project in the left corner of your terminal enclosed within () 5. pip install <library name > 6. make sure to create a requirements.txt file after finishing the project so that you can Deploy and install the dependencies into the server as well
thanks On Tue, 23 Jun 2020 at 17:05, Kasper Laudrup <laud...@stacktrace.dk> wrote: > Hi Peter, > > On 23/06/2020 13.15, Peter Kirieny wrote: > > thank you > > how do i activate virtual environment please? > > > > > https://hostadvice.com/how-to/how-to-create-a-virtual-environment-for-your-django-projects-using-virtualenv/ > > Was the first result I could find on a Google search. > > Kind regards, > > Kasper Laudrup > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/e2af77bb-275e-e52b-6730-c72526825ebe%40stacktrace.dk > . > -- *Robert Rajendra* Associate Network/Server Support Engineer ITH P: +91 863.087.3094 <+91%2086308%2073094> W: www.ITHands.com <http://www.ithands.com/> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CABbC_KH%3D4E2DaBb%3DovW9-hDBLgV2gBr%3Dax0ycktNFDtNtxtoZw%40mail.gmail.com.