Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

520
Visualizações
Running django-admin tutorial erros: no module named django

I just started to try and install/run Django on my cmd prompt and faced this issue although environment variables are set up for Django.

Besides getting a solution, can someone help me understand the root cause of the error below?

C:\Python>django-admin startproject test
Traceback (most recent call last):
  File "C:\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\windows\syswow64\scripts\django-admin.exe\__main__.py", line 5, in <module>
ModuleNotFoundError: No module named 'django'
about 4 years ago · Santiago Trujillo
2 Respostas
Responde à pergunta

0

In python based project it is always good to create Virtual Environment and then run your django program .

 pip install virtualenvwrapper-win
 mkvirtualenv test
 workon test

this will activate your virtual environment

Now install django

pip install django

After django installation complets

run

django-admin --version

Hope this helps.

about 4 years ago · Santiago Trujillo Relatório

0

On windows, go where you want to create your project, and call from there the django-admin.exe: path\to\django-admin.exe startproject project_name

Its not a clean solution but worked for me.

about 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda