Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

torngas/webserver.py ModuleNotFoundError: No module named 'exception' #15

Open
leeyisoft opened this issue Feb 24, 2018 · 1 comment
Open

Comments

@leeyisoft
Copy link

我的环境是 Mac Python3.6, 报错信息如下,我是参照 https://github.com/mqingyn/torngas/tree/master/demo 来的,不知道为什么报错,求大侠指教

(py3) eam/py_admin [master●] » pip list
DEPRECATION: The default format will switch to columns in the future. You can use --format=(legacy|columns) (or define a format=(legacy|columns) in your pip.conf under the [list] section) to disable this warning.
futures (3.1.1)
pip (9.0.1)
setuptools (38.5.1)
six (1.11.0)
SQLAlchemy (1.2.4)
tornado (4.5.3)
torngas (1.8.2)
virtualenv (15.1.0)
wheel (0.30.0)

python runserver.py --address=0.0.0.0 --port=8000 --settings=settings.setting
Traceback (most recent call last):
File "runserver.py", line 5, in
from torngas.webserver import Server
File "/Users/leeyi/chanrongdai/eam/py_admin/py3/lib/python3.6/site-packages/torngas/webserver.py", line 13, in
from exception import ConfigError, ArgumentError, UrlError
ModuleNotFoundError: No module named 'exception'

@leeyisoft
Copy link
Author

我添加一个点,问题就解决了,之后继续包其他不兼容Python3的错误,估计是不支持Python3 了
from .exception import ConfigError, ArgumentError, UrlError from .application import Application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant