zoukankan      html  css  js  c++  java
  • [原]在使用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=''

      

  • 相关阅读:
    js用currentStyle和getComputedStyle获取css样式(非行间)
    XMLHttpRequest Level 2 使用指南
    image-set实现Retina屏幕下图片显示[转载]
    Png的秘密
    css清除&闭合浮动
    2016学习计划
    提高性能及操作硬件的能力
    新兵易学,老兵易用----C++(C++11的学习整理---如何减少代码量,加强代码的可读性)
    CV限制符--C++
    能ping通网络,也正常连接,就是打不开网页,无法访问网络
  • 原文地址:https://www.cnblogs.com/horizonli/p/6012216.html
Copyright © 2011-2022 走看看