3
respostas

Não consigo iniciar o server

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

Traceback (most recent call last): File "C:\Users\Ian Webster Rasmusse\Desktop\projeto_clientes\manage.py", line 22, in main() File "C:\Users\Ian Webster Rasmusse\Desktop\projeto_clientes\manage.py", line 13, in main raise ImportError( 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?

3 respostas

Estou com o mesmo problemas :(

Conseguiu resolver? estou com o mesmo erro

Instalei o requirements.txt tudo na mao mesmo, um por um, e deu certo de rodar o server mas agora to com outro problema :

WARNINGS: clientes.Cliente: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField'. HINT: Configure the DEFAULT_AUTO_FIELD setting or the ClientesConfig.default_auto_field attribute to point to a subclass of AutoField, e.g. 'django.db.models.BigAutoField'.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software