如何在Ubuntu中使用Python配置Blessed 1.9.5? [英] How can I configure Blessed 1.9.5 with Python in Ubuntu?

查看:134
本文介绍了如何在Ubuntu中使用Python配置Blessed 1.9.5?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

...pkg_resources.DistributionNotFound: The 'blessed==1.9.5'     
distribution was not found and is required by awsebcli...

当我检查是否正确安装了awsebcli时,键入eb时,会出现以上消息.

Message above appear when I type eb when I check if I installed awsebcli correctly.

如何正确安装祝福1.9.5,以便可以安装awsebcli? 请帮忙.

How can I install the blessed 1.9.5 correctly so I can install awsebcli? Please help..

推荐答案

我只是在使用最新的AWS CLI工具时出现此问题.我通过MaxNoe的运行建议修复了该问题:

I just had this issue occur with the latest AWS CLI tool. I fixed it via MaxNoe's suggestion to run:

pip install blessed

我将此脚本放在脚本中的AWS CLI工具安装命令之前.脚本如下:

I put this prior to my AWS CLI tool install command in my script. The script looks like:

apt-get update
apt-get install python-dev
python -m pip install -U pip
pip install blessed
pip install awsebcli

这篇关于如何在Ubuntu中使用Python配置Blessed 1.9.5?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆