django安装xadmin数据库同步报错
(django1.11) E:\code\web\django_mall>python manage.py collectstatic Traceback (most recent call last): File "manage.py", line 22, in <module> execute_from_command_line(sys.argv) File "E:\vens\django1.11\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line utility.execute() File "E:\vens\django1.11\lib\site-packages\django\core\management\__init__.py", line 338, in execute django.setup() File "E:\vens\django1.11\lib\site-packages\django\__init__.py", line 27, in setup apps.populate(settings.INSTALLED_APPS) File "E:\vens\django1.11\lib\site-packages\django\apps\registry.py", line 116, in populate app_config.ready() File "E:\vens\django1.11\lib\site-packages\xadmin\apps.py", line 14, in ready self.module.autodiscover() File "E:\vens\django1.11\lib\site-packages\xadmin\__init__.py", line 49, in autodiscover register_builtin_plugins(site) File "E:\vens\django1.11\lib\site-packages\xadmin\plugins\__init__.py", line 41, in register_builtin_plugins [import_module('xadmin.plugins.%s' % plugin) for plugin in PLUGINS if plugin not in exclude_plugins] File "E:\vens\django1.11\lib\site-packages\xadmin\plugins\__init__.py", line 41, in <listcomp> [import_module('xadmin.plugins.%s' % plugin) for plugin in PLUGINS if plugin not in exclude_plugins] File "C:\Program Files\Python37\lib\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 "E:\vens\django1.11\lib\site-packages\xadmin\plugins\themes.py", line 3, in <module> import requests ModuleNotFoundError: No module named 'requests'
13
收起
正在回答 回答被采纳积分+1
1回答
3.从网页搭建入门Python Web
- 参与学习 人
- 提交作业 218 份
- 解答问题 3562 个
本阶段带你用Python开发一个网站,学习主流框架Django+Flask是Python Web开发的第一步,在基础知识上实现积分商城的项目开发,体验真实的项目开发流程,提高解决编程问题和效率的能力。
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星