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

485
Views
'home' conflicts with the name of an existing Python module
>>> import django
>>> django.VERSION
(1, 11, 0, 'final', 1)

Could you comment on this:

(django11test) michael@ThinkPad:~/workspace/django11test$ python manage.py startapp home
CommandError: 'home' conflicts with the name of an existing Python module and cannot be used as an app name. Please try another name.

It is a newly started project:

INSTALLED_APPS = [
    'django.contrib.admin',
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.messages',
    'django.contrib.staticfiles',
]

I have always used applications called "home". And now it starts conflicting. I have already used Django 1.11 in another project. And the creation of home application didn't inflict any error messages.

Could you comment: with what does it conflict?

ADDED LATER:

Tree

(django11test) michael@ThinkPad:~/workspace/django11test$ tree
.
├── db.sqlite3
├── django11test
│   ├── __init__.py
│   ├── __pycache__
│   │   ├── __init__.cpython-36.pyc
│   │   ├── settings.cpython-36.pyc
│   │   ├── urls.cpython-36.pyc
│   │   └── wsgi.cpython-36.pyc
│   ├── settings.py
│   ├── urls.py
│   └── wsgi.py
└── manage.py

pip freeze

(django11test) michael@ThinkPad:~/workspace/django11test$ pip freeze
appdirs==1.4.3
Django==1.11
django-appconf==1.0.2
django-imagekit==4.0
olefile==0.44
packaging==16.8
pilkit==2.0
Pillow==4.1.1
pkg-resources==0.0.0
pyparsing==2.2.0
pytz==2017.2
six==1.10.0
over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Try to go to your python installation directory and after, go to the Lib\site-packages directory (e.g. c:\Program Files\Python36\Lib\site-packages\).

Search for a folder home and home-something (e.g. "home-0.24-py3.6.egg-info") and try to delete them. This has helped me.

over 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!