• 世界75亿人,这么小的概率,能认识你,是我一生的幸运,不妨加个QQ接触一下:52249909

【搭建jumpserver堡垒机】安装Python依赖库时有个执行python-gssapi包出现的错误

Linux架构 lixian 6年前 (2020-03-30) 23986次浏览 1个评论

问题

搭建jumpserver堡垒机时,出现Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-hpewak1f/python-gssapi/的错误。

解决

先注释掉requirements.txt 文件里的python-gssapi==0.6.4

sed -ir 's#python-gssapi==0.6.4#\#python-gssapi==0.6.4#g' requirements.txt 

然后再执行一遍

pip install -r requirements.txt

成功。

再把注释去掉,然后再执行一遍

sed -ir 's#\#python-gssapi==0.6.4#python-gssapi==0.6.4#g' requirements.txt 
pip install -r requirements.txt


lx656.top , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:【搭建jumpserver堡垒机】安装Python依赖库时有个执行python-gssapi包出现的错误
喜欢 (0)

您必须 登录 才能发表评论!

(1)个小伙伴在吐槽
  1. Thank you very much for sharing. Your article was very helpful for me to build a paper on gate.io. After reading your article, I think the idea is very good and the creative techniques are also very innovative. However, I have some different opinions, and I will continue to follow your reply.