Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

518
Views
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 answers
Answer question

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 Report

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!