2014-01-28 5 views
4

참고 :이 질문은 몇 년 동안 사용되지 않고 제거 된 "1 세대"Bokeh 서버와 관련이 있습니다. 퀵 스타트에서 복제 오늘 :이 질문이나 답변의 어떠한 보케의 모든 버전> = 0.11 Bokeh 빠른 시작 예제가 실패합니다.


보케


에 관련이 없습니다.

파이썬 : 2.7.6

파이썬 모듈은 데비안 제시

$ ./bokeh-server 
/home/jwu/g/othersw/bokeh/bokeh/server/start.py:2: UserWarning: libevent version mismatch: system version is '2.0.21-stable' but this gevent is compiled against '2.0.19-stable' 
    import gevent.monkey 
Traceback (most recent call last): 
    File "./bokeh-server", line 74, in <module> 
    main() 
    File "./bokeh-server", line 71, in main 
    start.start_app(verbose=args.verbose) 
    File "/home/jwu/g/othersw/bokeh/bokeh/server/start.py", line 102, in start_app 
    start_services() 
    File "/home/jwu/g/othersw/bokeh/bokeh/server/start.py", line 91, in start_services 
    save=redis_save 
    File "/home/jwu/g/othersw/bokeh/bokeh/server/services.py", line 81, in start_redis 
    stdin=subprocess.PIPE 
    File "/home/jwu/g/othersw/bokeh/bokeh/server/services.py", line 27, in __init__ 
    stdin=stdin) 
    File "/usr/lib/python2.7/subprocess.py", line 709, in __init__ 
    errread, errwrite) 
    File "/usr/lib/python2.7/subprocess.py", line 1326, in _execute_child 
    raise child_exception 
OSError: [Errno 2] No such file or directory 
Exception KeyError: KeyError(42871856,) in <module 'threading' from '/usr/lib/python2.7/threading.pyc'> ignored 

에서 나는 어떻게 오류 메시지를 해석하는 단서가 없다. gevent 버전에 문제가 있습니까? (메시지에는 UserWarning 만 나와 있습니다.) 어떤 파일이나 디렉토리가 누락 되었습니까? 어느 키가 잘못 되었습니까?

답변

3

Bokeh 코어 개발자의 편집 :이 답변은 매우 오래되었습니다. Bokeh는 더 이상 redis를 사용하지 않으며 오랫동안 사용하지 않았습니다.

답변 : bokeh 메일 링리스트에있는 질문 : redis-server를 설치하면 문제가 해결되었습니다.

2

이전 답변은 매우 오래되었습니다. Bokeh 버전 0.11에는 bokeh serve을 실행하여 실행되는 새로운 Bokeh 서버가 있습니다. 또한 redis은 더 이상 종속성이 아닙니다 (선택 사항조차도 아님).

가 보케 복제 및 예제를 시도

0

내가 처음에 작동하지 않을 것입니다 예에 관한 약간의 일을 추가하고 싶습니다는 ..., 정말 중요하다 "자식 체크 아웃"는«태그 버전»의를에 시스템에서 사용 된 버전. 그렇지 않은 경우 시스템에서 사용되는 특정 버전에서 작동하지 않을 수도있는 master 분기 예제를 사용합니다. 설치된 버전에서 사용할 수없는 기능을 포함하여 마스터 버전에서 일부 개선 사항이 구현 될 수 있습니다.

관련 문제