Skip to content

启动后端服务时报错 ImportError: cannot import name 'EMPTY_PERMISSION'` #25

@ganichiro

Description

@ganichiro

修改完private.py后再次运行
python main.py
报错:
Traceback (most recent call last):
File "main.py", line 3, in <module>
from app import app
File ".\app.py", line 1, in <module>
from slim import Application, CORSOptions, EMPTY_PERMISSION
ImportError: cannot import name 'EMPTY_PERMISSION'
ModuleNotFoundError: No module named 'slim'
疑似发生circular dependency imports
我用的是Windows10,anaconda python3.6.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions