I'm trying to run targetcli on an Amazon Linux 2 instance. After installing with sudo yum -y install targetcli I get:
$ targetcli
Traceback (most recent call last):
File "/usr/bin/targetcli", line 24, in <module>
from targetcli import UIRoot
File "/usr/lib/python2.7/site-packages/targetcli/__init__.py", line 18, in <module>
from .ui_root import UIRoot
File "/usr/lib/python2.7/site-packages/targetcli/ui_root.py", line 33, in <module>
from .ui_backstore import complete_path, UIBackstores
File "/usr/lib/python2.7/site-packages/targetcli/ui_backstore.py", line 20, in <module>
from gi.repository import Gio
ImportError: No module named gi.repository
Is there another package I need to install?
This is information on the yum package:
$ sudo yum info targetcli
Loaded plugins: priorities, update-motd, versionlock
Installed Packages
Name : targetcli
Arch : noarch
Version : 2.1.53
Release : 1.amzn2
Size : 253 k
Repo : installed
From repo : amzn2-core
Summary : An administration shell for storage targets
URL : https://github.com/open-iscsi/targetcli-fb
License : ASL 2.0
Description : An administration shell for configuring iSCSI, FCoE, and other
: SCSI targets, using the TCM/LIO kernel target subsystem. FCoE
: users will also need to install and use fcoe-utils.
Thanks!
I'm trying to run targetcli on an Amazon Linux 2 instance. After installing with
sudo yum -y install targetcliI get:Is there another package I need to install?
This is information on the yum package:
Thanks!