[原]在使用ubuntu14.04,安装devstack的时候报错./stack.sh: line 463: generate-subunit: command not found
=======在使用ubuntu14.04,安装devstack的时候报错./stack.sh: line 463: generate-subunit: command not found
2016-10-29 14:38:49.689 | + sudo DEBIAN_FRONTEND=noninteractive http_proxy= https_proxy= no_proxy= apt-get --option Dpkg::Options::=--force-confold --assume-yes purge python-pip
2016-10-29 14:38:49.701 | Reading package lists...
2016-10-29 14:38:49.953 | Building dependency tree...
2016-10-29 14:38:49.954 | Reading state information...
2016-10-29 14:38:50.277 | Package 'python-pip' is not installed, so not removed
2016-10-29 14:38:50.277 | 0 upgraded, 0 newly installed, 0 to remove and 44 not upgraded.
2016-10-29 14:38:50.280 | + install_get_pip
2016-10-29 14:38:50.280 | + [[ ! -r /opt/stack/devstack/files/get-pip.py ]]
2016-10-29 14:38:50.280 | + [[ -r /opt/stack/devstack/files/get-pip.py.downloaded ]]
2016-10-29 14:38:50.280 | + sudo -H -E python /opt/stack/devstack/files/get-pip.py -c /opt/stack/devstack/tools/cap-pip.txt
2016-10-29 14:38:50.299 | File "/opt/stack/devstack/files/get-pip.py", line 8358
2016-10-29 14:38:50.301 | nPHZ1#C8JE9^4W#;@8N+k6c=b6z(UEHQ_r;9QZLHra}%+o59t84
2016-10-29 14:38:50.301 | ^
2016-10-29 14:38:50.301 | SyntaxError: EOF while scanning triple-quoted string literal
2016-10-29 14:38:50.306 | ++ err_trap
2016-10-29 14:38:50.306 | ++ local r=1
2016-10-29 14:38:50.308 | stack.sh failed: full log in /opt/stack/logs/stack.sh.log.2016-10-29-223720
2016-10-29 14:38:50.309 | Error on exit
2016-10-29 14:38:50.312 | ./stack.sh: line 463: generate-subunit: command not found
网上有个方案是=====在运行./stack.sh之前,执行下面的命令
sudo apt-get install python-pip sudo pip install --upgrade pip sudo pip install -U os-testr
可是依然不能解决问题,还出现了一大堆问题。
还有一个方案是:
在stackrc中添加两段:
#add http proxy and https proxy haibo
export http_proxy=''
export https_proxy=''
作者:horizonli
出处:http://www.cnblogs.com/horizonli/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
如果您认为文章还不错或者有所收获,您可以通过扫描下方的二维码进行随性打赏(¥1/¥2/¥5)以及点击左下角的【好文要顶】按钮以示支持,或者扫描关注即将写作的公众号二维码,因为这几种方式都是支持我继续写作,分享的最大动力!公众号将记录工作生活,技术内容,个性观点等内容,欢迎您的关注
出处:http://www.cnblogs.com/horizonli/
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。
支付宝(alipay) 二维码打赏 |
微信(wechat) 二维码打赏 JUST LI(**波) |
微信公众号: 木子李的菜田 |