Ошибка Django OSError: [WinError 123] Синтаксис имени файла, имени каталога или метки тома неверен

#python #python-3.x #django

#python #python-3.x #django

Вопрос:

Я пытаюсь запустить проект с открытым исходным кодом на своем компьютере. Но я получаю эту ошибку. Пожалуйста, опытный человек, поделитесь своей мыслью. Я не понимаю, как я могу решить эту проблему. Я использую python 3.6 и django 2.X версии.

 Traceback (most recent call last):
  File "C:/Users/Asus/Desktop/Fiverr/vulunteer/manage.py", line 37, in <module>
    execute_from_command_line(sys.argv)
  File "C:Python37libsite-packagesdjangocoremanagement__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "C:Python37libsite-packagesdjangocoremanagement__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "C:Python37libsite-packagesdjangocoremanagementbase.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "C:Python37libsite-packagesdjangocoremanagementcommandsrunserver.py", line 60, in execute
    super().execute(*args, **options)
  File "C:Python37libsite-packagesdjangocoremanagementbase.py", line 364, in execute
    output = self.handle(*args, **options)
  File "C:Python37libsite-packagesdjangocoremanagementcommandsrunserver.py", line 95, in handle
    self.run(**options)
  File "C:Python37libsite-packagesdjangocoremanagementcommandsrunserver.py", line 102, in run
    autoreload.run_with_reloader(self.inner_run, **options)
  File "C:Python37libsite-packagesdjangoutilsautoreload.py", line 598, in run_with_reloader
    start_django(reloader, main_func, *args, **kwargs)
  File "C:Python37libsite-packagesdjangoutilsautoreload.py", line 583, in start_django
    reloader.run(django_main_thread)
  File "C:Python37libsite-packagesdjangoutilsautoreload.py", line 301, in run
    self.run_loop()
  File "C:Python37libsite-packagesdjangoutilsautoreload.py", line 307, in run_loop
    next(ticker)
  File "C:Python37libsite-packagesdjangoutilsautoreload.py", line 347, in tick
    for filepath, mtime in self.snapshot_files():
  File "C:Python37libsite-packagesdjangoutilsautoreload.py", line 363, in snapshot_files
    for file in self.watched_files():
  File "C:Python37libsite-packagesdjangoutilsautoreload.py", line 262, in watched_files
    yield from iter_all_python_module_files()
  File "C:Python37libsite-packagesdjangoutilsautoreload.py", line 103, in iter_all_python_module_files
    return iter_modules_and_files(modules, frozenset(_error_files))
  File "C:Python37libsite-packagesdjangoutilsautoreload.py", line 139, in iter_modules_and_files
    if not path.exists():
  File "C:Python37libpathlib.py", line 1346, in exists
    self.stat()
  File "C:Python37libpathlib.py", line 1168, in stat
    return self._accessor.stat(self)
OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: 'C:\Users\Asus\Desktop\Fiverr\vulunteer\templates\admin:admin\base.html'

Process finished with exit code 1
  

Комментарии:

1. Что у вас есть где-нибудь в настройках? admin:admin

2. Нет. У меня нет admin:admin в настройках.