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

483
Views
'home' entra en conflicto con el nombre de un módulo de Python existente
>>> import django >>> django.VERSION (1, 11, 0, 'final', 1)

Podrías comentar sobre esto:

 (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.

Es un proyecto recién iniciado:

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

Siempre he usado aplicaciones llamadas "home". Y ahora empieza a entrar en conflicto. Ya he usado Django 1.11 en otro proyecto. Y la creación de la aplicación de inicio no infligió ningún mensaje de error.

Podrías comentar: ¿con qué entra en conflicto?

AÑADIDO MÁS TARDE:

Árbol

 (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

congelación de pepitas

 (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
about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Intente ir a su directorio de instalación de python y luego, vaya al directorio Lib\site-packages (por ejemplo, c:\Program Files\Python36\Lib\site-packages\ ).

Busque una carpeta home y home-something (por ejemplo "home-0.24-py3.6.egg-info" ) e intente eliminarlos. Esto me ha ayudado.

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!