2016-10-25 14 views
2

トレースバック(最新の呼び出しの最後)という名前のモジュール:はImportError: 'bootstrapform'

File "/home/etudiant/git/leasing/leasing/manage.py", line 10, in <module> 
    execute_from_command_line(sys.argv) 
    File "/usr/local/lib/python3.5/dist-packages/django/core/management/__init__.py", line 338, in execute_from_command_line 
    utility.execute() 
    File "/usr/local/lib/python3.5/dist-packages/django/core/management/__init__.py", line 312, in execute 
    django.setup() 
    File "/usr/local/lib/python3.5/dist-packages/django/__init__.py", line 18, in setup 
    apps.populate(settings.INSTALLED_APPS) 
    File "/usr/local/lib/python3.5/dist-packages/django/apps/registry.py", line 85, in populate 
    app_config = AppConfig.create(entry) 
    File "/usr/local/lib/python3.5/dist-packages/django/apps/config.py", line 86, in create 
    module = import_module(entry) 
    File "/usr/lib/python3.5/importlib/__init__.py", line 126, in import_module 
    return _bootstrap._gcd_import(name[level:], package, level) 
    File "<frozen importlib._bootstrap>", line 986, in _gcd_import 
    File "<frozen importlib._bootstrap>", line 969, in _find_and_load 
    File "<frozen importlib._bootstrap>", line 956, in _find_and_load_unlocked 
ImportError: No module named 'bootstrapform' 
+1

あなたは 'ジャンゴ-bootstrapformをインストールしました'? ( 'pip install django-bootstrap-form') – ettanany

+0

ありがとうございました –

答えて

5

次のようにあなたがdjango-bootstrap-formをインストールする必要があります。

pip install django-bootstrap-form