2017-12-23 4 views
0

ModuleNotFoundError : 'bootstrapform'모듈이 없습니다. python manage.py runserver를 실행하면이 오류가 발생합니다. 역 추적은ModuleNotFoundError : 'bootstrapform'모듈이 없습니다.

Traceback (most recent call last): 
 
     File "/Users/XXX/anaconda/envs/py36/lib/python3.6/site-packages/django/utils/autoreload.py", line 228, in wrapper 
 
     fn(*args, **kwargs) 
 
     File "/Users/XXX/anaconda/envs/py36/lib/python3.6/site-packages/django/core/management/commands/runserver.py", line 117, in inner_run 
 
     autoreload.raise_last_exception() 
 
     File "/Users/XXX/anaconda/envs/py36/lib/python3.6/site-packages/django/utils/autoreload.py", line 251, in raise_last_exception 
 
     six.reraise(*_exception) 
 
     File "/Users/XXX/anaconda/envs/py36/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise 
 
     raise value.with_traceback(tb) 
 
     File "/Users/XXX/anaconda/envs/py36/lib/python3.6/site-packages/django/utils/autoreload.py", line 228, in wrapper 
 
     fn(*args, **kwargs) 
 
     File "/Users/XXX/anaconda/envs/py36/lib/python3.6/site-packages/django/__init__.py", line 27, in setup 
 
     apps.populate(settings.INSTALLED_APPS) 
 
     File "/Users/XXX/anaconda/envs/py36/lib/python3.6/site-packages/django/apps/registry.py", line 85, in populate 
 
     app_config = AppConfig.create(entry) 
 
     File "/Users/XXX/anaconda/envs/py36/lib/python3.6/site-packages/django/apps/config.py", line 94, in create 
 
     module = import_module(entry) 
 
     File "/Users/XXX/anaconda/envs/py36/lib/python3.6/importlib/__init__.py", line 126, in import_module 
 
     return _bootstrap._gcd_import(name[level:], package, level) 
 
     File "<frozen importlib._bootstrap>", line 978, in _gcd_import 
 
     File "<frozen importlib._bootstrap>", line 961, in _find_and_load 
 
     File "<frozen importlib._bootstrap>", line 948, in _find_and_load_unlocked 
 
    ModuleNotFoundError: No module named 'bootstrapform'

내가

-PythonServer 
    -PythonServer 
    -logic 
    -static 
    -index.css 
    -templates 
    -index.html 
    -boolflat.github.io 
    -bower_components 

처럼이 핍 장고 - versatileimagefield를 설치 실행 settings.py

import os 

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) 
STATIC_URL = '/static/' 

STATICFILES_DIRS = [os.path.join(BASE_DIR,'bootflat.github.io'), ] 

디렉토리 구조에 쓴 말한다 == 1.2 .2 & pip 설치 규칙이 있지만 같은 오류가 발생합니다.이 오류를 어떻게 수정해야합니까?

답변

관련 문제