--Hello, my partners and I are working on a Django project using git, a partner begin the project and committed it on github, then the rest of us copy the project on their respective computers, but when we run the "python manage.py runserver" command (or any other command using manage.py) the ones who copied the project get the next error:
Traceback (most recent call last): File "manage.py", line 15, in <module> execute_from_command_line(sys.
argv) File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/core/ management/__init__.py", line 381, in execute_from_command_line utility.execute() File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/core/ management/__init__.py", line 375, in execute self.fetch_command(subcommand) .run_from_argv(self.argv) File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/core/ management/__init__.py", line 224, in fetch_command klass = load_command_class(app_name, subcommand) File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/core/ management/__init__.py", line 36, in load_command_class module = import_module('%s.management. commands.%s' % (app_name, name)) File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/importlib/__ init__.py", line 127, in import_module return _bootstrap._gcd_import(name[ level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 677, in _load_unlocked File "<frozen importlib._bootstrap_external> ", line 728, in exec_module File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/core/ management/commands/migrate. py", line 14, in <module> from django.db.migrations. autodetector import MigrationAutodetector File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/db/migrations/ autodetector.py", line 11, in <module> from django.db.migrations. questioner import MigrationQuestioner File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/db/migrations/ questioner.py", line 9, in <module> from .loader import MigrationLoader File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/db/migrations/ loader.py", line 8, in <module> from django.db.migrations.recorder import MigrationRecorder File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/db/migrations/ recorder.py", line 9, in <module> class MigrationRecorder: File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/db/migrations/ recorder.py", line 22, in MigrationRecorder class Migration(models.Model): File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/db/models/ base.py", line 87, in __new__ app_config = apps.get_containing_app_ config(module) File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/apps/registry. py", line 249, in get_containing_app_config self.check_apps_ready() File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/apps/registry. py", line 131, in check_apps_ready settings.INSTALLED_APPS File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/conf/__init__. py", line 57, in __getattr__ self._setup(name) File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/conf/__init__. py", line 44, in _setup self._wrapped = Settings(settings_module) File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/site- packages/django/conf/__init__. py", line 107, in __init__ mod = importlib.import_module(self. SETTINGS_MODULE) File "/home/marcoadv/Documentos/ Mat-programacion/ SoftwareDevelopment/classTime_ ve/lib/python3.7/importlib/__ init__.py", line 127, in import_module return _bootstrap._gcd_import(name[ level:], package, level) ModuleNotFoundError: No module named 'classTime'
It basically says that manage.py can't find the module of the actually project, I was searching on the browser finding an answer, saying that I need to run it in a virtual envirioment, but I still getting the error, Does somebody know how to solve it? I'll really appreciate your answers
If you need more details I will give them to you,
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com .
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users .
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c5dad0f8- .efd8-4172-9aaf-fa42463301e8% 40googlegroups.com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEEZZ8J7%2BDA-qJG%2BoVU%3DWXfufyjaO0Lo4DvP4-%3D13_QiMHcx0g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment