2016-09-24 3 views
-2
python serve.py 
/usr/local/lib/python3.4/dist-packages/flask/exthook.py:71: ExtDeprecationWarning: Importing flask.ext.sqlalchemy is deprecated, use flask_sqlalchemy instead. 
    .format(x=modname), ExtDeprecationWarning 
Traceback (most recent call last): 
    File "serve.py", line 1, in <module> 
    from CTFd import create_app 
    File "/home/rajat/Downloads/CTFd/CTFd/__init__.py", line 7, in <module> 
    from utils import get_config, set_config 
    ImportError: cannot import name 'get_config' 

Sie wissen nicht, was diesen Fehler pip installieren utilsWie behebe ich diesen Fehler?

Vielen Dank im Voraus

Versuchte verursacht

+1

http://stackoverflow.com/questions/27666134/name-get-config-is-not-defined – baranskistad

Antwort

0

from utils import get_config, set_config

sieht aus wie get_config nicht in utils Bibliothek nicht vorhanden ist.

Ich denke, Sie müssen mehr Details zu Ihrem Problem angeben.

Verwandte Themen