FIX :: ImportError: cannot import name range - running targetcli

> targetcli
Traceback (most recent call last):
  File "/usr/bin/targetcli", line 24, in
    from targetcli import UIRoot
  File "/usr/lib/python2.7/site-packages/targetcli/__init__.py", line 18, in
    from .ui_root import UIRoot
  File "/usr/lib/python2.7/site-packages/targetcli/ui_root.py", line 27, in
    from rtslib_fb import RTSRoot
  File "/usr/lib/python2.7/site-packages/rtslib_fb/__init__.py", line 24, in
    from .root import RTSRoot
  File "/usr/lib/python2.7/site-packages/rtslib_fb/root.py", line 26, in
    from .target import Target
  File "/usr/lib/python2.7/site-packages/rtslib_fb/target.py", line 24, in
    from six.moves import range
ImportError: cannot import name range

> yum -y install python-six
> targetcli
targetcli shell version 2.1.fb41
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.



댓글

이 블로그의 인기 게시물

FIX::장치가 더 이상 응답하지않거나 연결이 끊어졌습니다.

mysql DATETIME형의 기본값으로 현재시간 설정

FIX :: LACP bonding 구성시 트래픽이 한쪽 포트로 몰리는 현상