简体   繁体   English

./stack.sh在安装Openstack时失败

[英]./stack.sh failed while installing Openstack

I am not able to install OpenStack. 我无法安装OpenStack。 I executed the script stack.sh and there was Error on exit. 我执行了脚本stack.sh,退出时出现错误。 I looked at the log, the error is during the execution of the command: sudo -H -E python /home/sagar/devstack/files/get-pip.py : 我查看了日志,该错误是在命令执行期间发生的:sudo -H -E python /home/sagar/devstack/files/get-pip.py:

This is the error during the execution of the below command: 这是执行以下命令期间的错误:

sudo -H -E python /home/sagar/devstack/files/get-pip.py 须藤-H -E python /home/sagar/devstack/files/get-pip.py
Collecting pip 收集点
Could not find any downloads that satisfy the requirement pip 找不到符合要求的下载点
No distributions at all found for pip 完全没有发现pip的分布
++ err_trap ++ err_trap
++ local r=1 ++本地r = 1

I got the problem. 我有问题。 The system date was not correct. 系统日期不正确。

Edit the script and append --allow-unverified 编辑脚本并附加--allow-unverified

ie pip install package_name==version --allow-unverified package_name pip install package_name==version --allow-unverified package_name

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM