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

python2.7版本以下不能正确运行 #26

Open
chutian52 opened this issue Aug 1, 2017 · 2 comments
Open

python2.7版本以下不能正确运行 #26

chutian52 opened this issue Aug 1, 2017 · 2 comments

Comments

@chutian52
Copy link

python2.7版本以下不能正确运行

[E 170801 17:32:26 ioloop:638] Exception in callback None
    Traceback (most recent call last):
      File "/usr/lib64/python2.6/site-packages/tornado/ioloop.py", line 888, in start
        handler_func(fd_obj, events)
      File "/usr/lib64/python2.6/site-packages/tornado/stack_context.py", line 277, in null_wrapper
        return fn(*args, **kwargs)
      File "/usr/lib64/python2.6/site-packages/tornado/iostream.py", line 519, in _handle_events
        self._handle_read()
      File "/usr/lib64/python2.6/site-packages/tornado/iostream.py", line 663, in _handle_read
        self._read_from_buffer(pos)
      File "/usr/lib64/python2.6/site-packages/tornado/iostream.py", line 778, in _read_from_buffer
        self._run_read_callback(pos, False)
      File "/usr/lib64/python2.6/site-packages/tornado/iostream.py", line 687, in _run_read_callback
        future.set_result(self._consume(size))
      File "/usr/lib64/python2.6/site-packages/tornado/iostream.py", line 910, in _consume
        b = (memoryview(self._read_buffer)
    NameError: global name 'memoryview' is not defined
@xsank
Copy link
Owner

xsank commented Aug 15, 2017

OK,最近比较忙,周末装一个2.6的环境试下

@huashengdun
Copy link

试试tornado旧版本看行不行
pip uninstall tornado
pip install tornado==2.1.1
参考 nkrode/RedisLive#93

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

3 participants