Did you activate your virtual environment?

Sent from my iPhone

> On Mar 22, 2022, at 10:32 PM, 'Delvin Alexander' via Django users 
> <django-users@googlegroups.com> wrote:
> 
> i did that but the problem still remains :(
> 
>> On Tuesday, March 22, 2022 at 2:09:33 AM UTC-7 sebasti...@gmail.com wrote:
>> Hey,
>> 
>> I think yoz don't have installed django package. Please install it over pip 
>> install django
>> 
>> Regards
>> 
>> 'Delvin Alexander' via Django users <django...@googlegroups.com> schrieb am 
>> Di., 22. März 2022, 06:07:
>>> would anyone know why my "manage.py runserver" is not working?
>>> 
>>> Every time i try running it on the command prompt, i get relocated to my 
>>> visual studio of manage.py file that states this:
>>> 
>>> #!/usr/bin/env python
>>> """Django's command-line utility for administrative tasks."""
>>> import os
>>> import sys
>>> 
>>> 
>>> def main():
>>>     """Run administrative tasks."""
>>>     os.environ.setdefault('DJANGO_SETTINGS_MODULE', 
>>> 'django_project.settings')
>>>     try:
>>>         from django.core.management import execute_from_command_line
>>>     except ImportError as exc:
>>>         raise ImportError(
>>>             "Couldn't import Django. Are you sure it's installed and "
>>>             "available on your PYTHONPATH environment variable? Did you "
>>>             "forget to activate a virtual environment?"
>>>         ) from exc
>>>     execute_from_command_line(sys.argv)
>>> 
>>> 
>>> if __name__ == '__main__':
>>>     main()
>>> 
>>> 
>>> A step in the right direction will be super helpful for me.
>>> 
>> 
>>> -- 
>>> 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/69291c68-61e7-4557-8175-7b705bcfcbb0n%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/a60f5102-0638-4fae-9dec-e870e6c2c98fn%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/934F4336-CA23-48AF-B83C-174AEAD0A1A5%40gmail.com.

Reply via email to