Open kcgthb opened 5 years ago
That's a missing dependency on python-cryptography
. Installing that package solves the problem.
@kcgthb Would you please let us know your os version. thanks!
Sure: as mentioned in the first message, it's CentOS 7.6.
@kcgthb I didn't hit your issue on my environment. this is what I did on rhels7.6. It can work without python-cryptography
[root@c910f04x12v02 ~]# yum install https://github.com/xcat2/xcat-inventory/releases/download/v0.1.6/xcat-inventory-0.1.6-c0.noarch.rpm
[root@c910f04x12v02 ~]# pip install pymysql
[root@c910f04x12v02 ~]# xcat-inventory -V
0.1.6 (git commit fe6900cc38a6fa8f2329ad901b14354835561c6e)
[root@c910f04x12v02 ~]# rpm -qa |grep -i python-cryptography
[root@c910f04x12v02 ~]#
by the way, what is your python version. my version is python 2.7.5
HI @kcgthb , glad to here that you are trying xcat-inventory
thanks for your reporting this dependency issue, we will take a look at it and add python-cryptography
into rpm spec if necessary.
I would like to give a forenotice here, there will be 2 WOW features coming soon:
@tingtli and @immarvin Thanks! Yes, I think adding python-cryptography
as a dependency in the RPM spec would be good. I'm using the stock Python from the OS, that is, 2.7.5.
And great to hear about the upcoming features!
double check on my test environment. I think when I run pip install pymysql, a package named cryptography is Installed. pymysql is installed because xcat-inventory prompt that pymysql is not installed.
[root@c910f04x12v02 ~]# pip search cryptography
cryptography (2.4.2) - cryptography is a package which provides cryptographic recipes and primitives to
Fresh install of
xcat-inventory
0.1.6 on RHEL/CentOS 7.6: