SHARE
TWEET

Untitled

a guest Feb 16th, 2020 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (venv) C:\Users\Лю\PycharmProjects\WeatherApp>py manage.py makemigrations
  2. Traceback (most recent call last):
  3.   File "manage.py", line 21, in <module>
  4.     main()
  5.   File "manage.py", line 17, in main
  6.     execute_from_command_line(sys.argv)
  7.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\management\__init__.py", line 401, i
  8. n execute_from_command_line
  9.     utility.execute()
  10.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\management\__init__.py", line 395, i
  11. n execute
  12.     self.fetch_command(subcommand).run_from_argv(self.argv)
  13.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\management\base.py", line 328, in ru
  14. n_from_argv
  15.     self.execute(*args, **cmd_options)
  16.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\management\base.py", line 366, in ex
  17. ecute
  18.     self.check()
  19.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\management\base.py", line 392, in ch
  20. eck
  21.     all_issues = self._run_checks(
  22.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\management\base.py", line 382, in _r
  23. un_checks
  24.     return checks.run_checks(**kwargs)
  25.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\checks\registry.py", line 72, in run
  26. _checks
  27.     new_errors = check(app_configs=app_configs)
  28.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\checks\urls.py", line 13, in check_u
  29. rl_config
  30.     return check_resolver(resolver)
  31.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\core\checks\urls.py", line 23, in check_r
  32. esolver
  33.     return check_method()
  34.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\urls\resolvers.py", line 407, in check
  35.     for pattern in self.url_patterns:
  36.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\utils\functional.py", line 48, in __get__
  37.  
  38.     res = instance.__dict__[self.name] = self.func(instance)
  39.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\urls\resolvers.py", line 588, in url_patt
  40. erns
  41.     patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  42.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\utils\functional.py", line 48, in __get__
  43.  
  44.     res = instance.__dict__[self.name] = self.func(instance)
  45.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\urls\resolvers.py", line 581, in urlconf_
  46. module
  47.     return import_module(self.urlconf_name)
  48.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\importlib\__init__.py", line 127, in import_module
  49.     return _bootstrap._gcd_import(name[level:], package, level)
  50.   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  51.   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  52.   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  53.   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  54.   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  55.   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  56.   File "C:\Users\Лю\PycharmProjects\WeatherApp\WeatherApp\urls.py", line 21, in <module>
  57.     path('', include('weather.urls'))
  58.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\site-packages\django\urls\conf.py", line 34, in include
  59.     urlconf_module = import_module(urlconf_module)
  60.   File "C:\Users\Лю\AppData\Local\Programs\Python\Python38-32\lib\importlib\__init__.py", line 127, in import_module
  61.     return _bootstrap._gcd_import(name[level:], package, level)
  62.   File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  63.   File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  64.   File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  65.   File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  66.   File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  67.   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  68.   File "C:\Users\Лю\PycharmProjects\WeatherApp\weather\urls.py", line 2, in <module>
  69.     from . import views
  70.   File "C:\Users\Лю\PycharmProjects\WeatherApp\weather\views.py", line 3, in <module>
  71.     import requests
  72. ModuleNotFoundError: No module named 'requests'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top