E:\\Web>python manage.py runserver
Unhandled exception in thread started by <function check_errors.<locals>.wrapper
at 0x0425A3D8>
Traceback (most recent call last):
File "C:\Python\lib\site-packages\django-2.1-py3.6.egg\django\utils\autoreload
.py", line 225, in wrapper
fn(*args, **kwargs)
File "C:\Python\lib\site-packages\django-2.1-py3.6.egg\django\core\management\
commands\runserver.py", line 110, in inner_run
autoreload.raise_last_exception()
File "C:\Python\lib\site-packages\django-2.1-py3.6.egg\django\utils\autoreload
.py", line 248, in raise_last_exception
raise _exception[1]
File "C:\Python\lib\site-packages\django-2.1-py3.6.egg\django\core\management\
__init__.py", line 337, in execute
autoreload.check_errors(django.setup)()
File "C:\Python\lib\site-packages\django-2.1-py3.6.egg\django\utils\autoreload
.py", line 225, in wrapper
fn(*args, **kwargs)
File "C:\Python\lib\site-packages\django-2.1-py3.6.egg\django\__init__.py", li
ne 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Python\lib\site-packages\django-2.1-py3.6.egg\django\apps\registry.py
", line 89, in populate
app_config = AppConfig.create(entry)
File "C:\Python\lib\site-packages\django-2.1-py3.6.egg\django\apps\config.py",
line 90, in create
module = import_module(entry)
File "C:\Python\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'tinymce'
django版本:2.1 python版本:3.6.5
在Django文件下打开cmd,输入如下命令:
pip install django-tinymce