Monday, September 2, 2019

Re: Please someone should help me fix this

First cd to your project folder. Once there create a virtual environment and enable the environment.
The best ,the easiest and the smartest method is to use pipenv.
1. First install pipenv with:
pip install pipenv
2. cd to your project folder.
3. Run the command:
pipenv shell
4. Your virtual environment created and started too. Name of you virtual environment will always be the name of the folder and some random alphanumeric code. So you need not remember the environment name. Isn't it the smartest.
5. If you need to install some software within your virtual env run:
pipenv install <software name>
It's as easy as 123.

On Mon 2 Sep, 2019, 12:58 PM Tosin Ayoola, <tosinayoola0@gmail.com> wrote:
Can u send d screenshot of the error message you getting 

On Sep 2, 2019 00:04, "Sullivan Nnaji" <nnajisullivan@gmail.com> wrote:
I have activated the virtual environment and CD into the project name and manage.py was present but still can't run server
I always get an error of
File "manage.py", line 16
  From exc

SyntaxError: invalid syntax

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/01202497-70c2-41a7-9838-52729bfbfb1a%40googlegroups.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHLKn72L%2BSmCb08ovAcL_BW%3Dkonp4oCTi_%3DW4Y8KVLQh5DSH4Q%40mail.gmail.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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAE%2BOsB1CNDEE7JQVsOhENWa_f8zkQbdgVJu4K7Rk%3D%3DLTP%3DiejA%40mail.gmail.com.

No comments:

Post a Comment