老师报错No module named 'crispy-forms'
来源:8-2 更加强大的后台管理系统-xadmin的配置
DduanANan
2020-09-14
环境:django2.2
xadmin DjangoUeditor 两个文件都是从你的文件夹中拷贝出来的
"E:\pythonwork\PyCharm 2019.2.3\bin\runnerw64.exe" C:\ProgramData\Anaconda3\envs\pythonfile\python.exe “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py” makemigrations K:/xunihua/programFile/studyonline_files
Tracking file by folder pattern: migrations
Traceback (most recent call last):
File “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py”, line 52, in
run_command()
File “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py”, line 46, in run_command
run_module(manage_file, None, ‘main’, True)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 205, in run_module
return run_module_code(code, init_globals, run_name, mod_spec)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File “K:/xunihua/programFile/studyonline_files\manage.py”, line 21, in
main()
File “K:/xunihua/programFile/studyonline_files\manage.py”, line 17, in main
execute_from_command_line(sys.argv)
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\core\management_init.py", line 381, in execute_from_command_line
utility.execute()
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\core\management_init.py", line 357, in execute
django.setup()
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django_init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\apps\registry.py”, line 91, in populate
app_config = AppConfig.create(entry)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\apps\config.py”, line 90, in create
module = import_module(entry)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\importlib_init_.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “
Process finished with exit code 1
manage.py@studyonline_files > makemigrations
"E:\pythonwork\PyCharm 2019.2.3\bin\runnerw64.exe" C:\ProgramData\Anaconda3\envs\pythonfile\python.exe “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py” makemigrations K:/xunihua/programFile/studyonline_files
Tracking file by folder pattern: migrations
Traceback (most recent call last):
File “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py”, line 52, in
run_command()
File “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py”, line 46, in run_command
run_module(manage_file, None, ‘main’, True)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 205, in run_module
return run_module_code(code, init_globals, run_name, mod_spec)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File “K:/xunihua/programFile/studyonline_files\manage.py”, line 21, in
main()
File “K:/xunihua/programFile/studyonline_files\manage.py”, line 17, in main
execute_from_command_line(sys.argv)
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\core\management_init.py", line 381, in execute_from_command_line
utility.execute()
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\core\management_init.py", line 357, in execute
django.setup()
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django_init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\apps\registry.py”, line 91, in populate
app_config = AppConfig.create(entry)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\apps\config.py”, line 90, in create
module = import_module(entry)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\importlib_init_.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “
Process finished with exit code 1
manage.py@studyonline_files > makemigrations
"E:\pythonwork\PyCharm 2019.2.3\bin\runnerw64.exe" C:\ProgramData\Anaconda3\envs\pythonfile\python.exe “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py” makemigrations K:/xunihua/programFile/studyonline_files
Tracking file by folder pattern: migrations
Traceback (most recent call last):
File “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py”, line 52, in
run_command()
File “E:\pythonwork\PyCharm 2019.2.3\helpers\pycharm\django_manage.py”, line 46, in run_command
run_module(manage_file, None, ‘main’, True)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 205, in run_module
return run_module_code(code, init_globals, run_name, mod_spec)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 96, in run_module_code
mod_name, mod_spec, pkg_name, script_name)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File “K:/xunihua/programFile/studyonline_files\manage.py”, line 21, in
main()
File “K:/xunihua/programFile/studyonline_files\manage.py”, line 17, in main
execute_from_command_line(sys.argv)
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\core\management_init.py", line 381, in execute_from_command_line
utility.execute()
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\core\management_init.py", line 357, in execute
django.setup()
File "C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django_init.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\apps\registry.py”, line 91, in populate
app_config = AppConfig.create(entry)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\site-packages\django\apps\config.py”, line 90, in create
module = import_module(entry)
File “C:\ProgramData\Anaconda3\envs\pythonfile\lib\importlib_init_.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “
1回答
-
bobby
2020-09-16
pip install django-crispy-forms
00
相似问题