Problem

10 views
Skip to first unread message

Daniel Chiemelu

unread,
Mar 16, 2020, 3:34:22 PM3/16/20
to django...@googlegroups.com

Please I am new in Django and I am finding it difficult to create a virtual environment and also install Django and I had a virtual environment that I created before using Flask

 

Sent from Mail for Windows 10

 


Virus-free. www.avast.com

Phako Perez

unread,
Mar 16, 2020, 3:42:17 PM3/16/20
to django...@googlegroups.com
What’s the problem???

Using python 3 you can create an environment as

python3 -m venv my_env

Kindly send an error or what is the issue you face while trying to create the env, so will be more easy to help, otherwise this question you can search on google for a beginner tutorial

Regards

Sent from my iPhone

On 16 Mar 2020, at 13:34, Daniel Chiemelu <chiemeluchu...@gmail.com> wrote:


--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/5e6fd482.1c69fb81.b9f97.42e4%40mx.google.com.

Daniel Chiemelu

unread,
Mar 16, 2020, 3:59:44 PM3/16/20
to django...@googlegroups.com

So after creating the virtual environment what is next on installing django

 

Sent from Mail for Windows 10

 

Gerardo Palazuelos Guerrero

unread,
Mar 16, 2020, 4:13:31 PM3/16/20
to django...@googlegroups.com
please proceed with this tutorial:

it covers all steps

--
Gerardo Palazuelos Guerrero



Phako Perez

unread,
Mar 16, 2020, 4:45:10 PM3/16/20
to django...@googlegroups.com
Once you created the venv, you will get a new directory, (with the name you provided in this example my_env)
In Linux you can activate as

source my_env/bin/activate

You will notice your prompt change with the venv name at the beginning 

Now you are on your venv

pip list

Will list all the libraries installed, now you can simple install as usual

pip install <your package you want>

Regards

Sent from my iPhone

On 16 Mar 2020, at 13:59, Daniel Chiemelu <chiemeluchu...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages