huashengdun / webssh

:seedling: Web based ssh client
https://webssh.huashengdun.org/
MIT License
4.57k stars 1.3k forks source link

Run issues #89

Closed nsrdev9 closed 5 years ago

nsrdev9 commented 5 years ago

Traceback (most recent call last): File "/usr/local/bin/wssh", line 7, in from webssh.main import main File "/usr/local/lib/python2.7/dist-packages/webssh/main.py", line 2, in import tornado.web File "/usr/local/lib/python2.7/dist-packages/tornado/web.py", line 205 127.0.0.1 localhost application: "Application", ^ SyntaxError: invalid syntax

huashengdun commented 5 years ago

python2.7支持tornado的最新版本是5.1.1, 版本6以上包括6都不支持。

nsrdev9 commented 5 years ago

What do I need to do now?

huashengdun commented 5 years ago

Sorry, I thought you were Chinese. Tornado 6.x does not support python 2. Install tornado 5.x if you use python 2.

nsrdev9 commented 5 years ago

What about python 3 ? Does it support Tornado 6.x?

On Sun, 22 Sep 2019 at 6:19 PM, Shengdun Hua notifications@github.com wrote:

Sorry, I thought you are Chinese. Tornado 6.x does not support python 2. Install tornado 5.x if you use python 2.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/huashengdun/webssh/issues/89?email_source=notifications&email_token=ANIRQ3ICHJSWMTVMP5K2JBTQK5SUPA5CNFSM4IZBIXZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7JFTYQ#issuecomment-533879266, or mute the thread https://github.com/notifications/unsubscribe-auth/ANIRQ3PFVNEWQEQIU4YVV7DQK5SUPANCNFSM4IZBIXZQ .

--

RegardsSrikanth

huashengdun commented 5 years ago

If you use python3, tornado 6.x and 5.x both are supported.

nsrdev9 commented 5 years ago

Thanks, let me try python3

On Sun, 22 Sep 2019 at 6:50 PM, Shengdun Hua notifications@github.com wrote:

If you use python3, tornado 6.x and 5.x both are supported.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/huashengdun/webssh/issues/89?email_source=notifications&email_token=ANIRQ3K5V75UALWO5VB5MOTQK5WLVA5CNFSM4IZBIXZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7JGENQ#issuecomment-533881398, or mute the thread https://github.com/notifications/unsubscribe-auth/ANIRQ3MUISAZFUXTBDCR6XTQK5WLVANCNFSM4IZBIXZQ .

--

RegardsSrikanth