• 欢迎访问显哥博客,本网站纯属学习技术,绝无商业用途,欢迎小伙伴们共同学习!研究技术!QQ:52249909 加我QQ
  • 世界75亿人,这么小的概率,能认识你,是我一生的幸运,不妨加个QQ接触一下:52249909 加我QQ

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

Linux架构 lixian 4年前 (2020-03-30) 20912次浏览 1个评论 扫描二维码
文章目录[隐藏]

问题

搭建jumpserver堡垒机时,出现Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-hpewak1f/python-gssapi/的错误。
【搭建jumpserver堡垒机】安装Python依赖库时有个执行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

成功。
【搭建jumpserver堡垒机】安装Python依赖库时有个执行python-gssapi包出现的错误
再把注释去掉,然后再执行一遍

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

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


本站博主 , 版权所有丨如未注明 , 均为原创
转载请注明原文链接:【搭建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.