Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter04 ModuleNotFoundError: No module named 'social_django' #51

Open
jacelos opened this issue Nov 17, 2020 · 0 comments
Open

Chapter04 ModuleNotFoundError: No module named 'social_django' #51

jacelos opened this issue Nov 17, 2020 · 0 comments

Comments

@jacelos
Copy link

jacelos commented Nov 17, 2020

Traceback (most recent call last):
File "C:/Users/Administrator/Desktop/Django-2-by-Example-master/Chapter04/bookmarks/manage.py", line 15, in
execute_from_command_line(sys.argv)
File "C:\Python36\lib\site-packages\django\core\management_init_.py", line 381, in execute_from_command_line
utility.execute()
File "C:\Python36\lib\site-packages\django\core\management_init_.py", line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python36\lib\site-packages\django\core\management\base.py", line 323, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Python36\lib\site-packages\django\core\management\commands\runserver.py", line 60, in execute
super().execute(*args, **options)
File "C:\Python36\lib\site-packages\django\core\management\base.py", line 364, in execute
output = self.handle(*args, **options)
File "C:\Python36\lib\site-packages\django\core\management\commands\runserver.py", line 95, in handle
self.run(**options)
File "C:\Python36\lib\site-packages\django\core\management\commands\runserver.py", line 102, in run
autoreload.run_with_reloader(self.inner_run, **options)
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 585, in run_with_reloader
start_django(reloader, main_func, *args, **kwargs)
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 570, in start_django
reloader.run(django_main_thread)
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 288, in run
self.run_loop()
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 294, in run_loop
next(ticker)
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 334, in tick
for filepath, mtime in self.snapshot_files():
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 350, in snapshot_files
for file in self.watched_files():
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 249, in watched_files
yield from iter_all_python_module_files()
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 103, in iter_all_python_module_files
return iter_modules_and_files(modules, frozenset(_error_files))
File "C:\Python36\lib\site-packages\django\utils\autoreload.py", line 136, in iter_modules_and_files
if not path.exists():
File "C:\Python36\lib\pathlib.py", line 1336, in exists
self.stat()
File "C:\Python36\lib\pathlib.py", line 1158, in stat
return self._accessor.stat(self)
File "C:\Python36\lib\pathlib.py", line 387, in wrapped
return strfunc(str(pathobj), *args)
OSError: [WinError 123] 文件名、目录名或卷标语法不正确。: ''

@jacelos jacelos changed the title ModuleNotFoundError: No module named 'social_django' Chapter04 ModuleNotFoundError: No module named 'social_django' Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant