Saturday, November 2, 2019

Help with manage.py help

I installed django (2, 2, 6, 'final', 0)

My python is
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:06:47) [MSC v.1914 32 bit (Intel)] on win32

I'am taking a corurs of django, first start e Project  with django-admin startproject Proyecto1 and workted. Created a folder with manage.py in sade


But it does not work.



Traceback (most recent call last):

  File "C:\Users\MValino\Desktop\ProyectoDjango\Proyecto1\manage.py", line 10, in main

    from django.core.management import execute_from_command_line

ModuleNotFoundError: No module named 'django'


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "C:\Users\MValino\Desktop\ProyectoDjango\Proyecto1\manage.py", line 21, in <module>

    main()

  File "C:\Users\MValino\Desktop\ProyectoDjango\Proyecto1\manage.py", line 16, in main

    ) from exc

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?


I all ready add de PATH to windows

Sin título.png



I dont know wath else to do



--
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/0e12ea59-5371-48c2-b457-aa0fe1990c6b%40googlegroups.com.

No comments:

Post a Comment