python - DevStack 安装错误 : Directory 'opt/stack/nova' is not installable

标签 python pip openstack devstack

我正在尝试在 Ubuntu 14.04 上安装 Devstack,所有这些都在 VirtualBox VM 中运行。当我运行 ./stack.sh 时,脚本运行了一会儿,然后我在终端中收到此错误:

   DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated.  
   See https://github.com/pypa/pip/issues/906.
   Directory '/opt/stack/nova' is not installable. File 'setup.py' not found.
   Storing debug log for failure in /home/name/.pip/pip.log

pip.log 显示:

    /usr/local/bin/pip run on Thu Aug 14 16:53:09 2014
    DEPRECATION: --no-install, --no-download, --build, and --no-clean are deprecated.
    See https://github.com/pypa/pip/issues/906.
    Directory '/opt/stack/nova' is not installable. File 'setup.py' not found.
    Exception information:
    Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
    File "/usr/local/lib/python2.7/dist-packages/pip/commands/install.py", line 260, 
    in run

    InstallRequirement.from_editable(name, default_vcs=options.default_vcs))
    File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 114, in from_editable
    name, url, extras_override = parse_editable(editable_req, default_vcs)
    File "/usr/local/lib/python2.7/dist-packages/pip/req.py", line 1693, in 
    parse_editable
    raise InstallationError("Directory %r is not installable. File 'setup.py' not 
    found." % url_no_extras)
    InstallationError: Directory '/opt/stack/nova' is not installable. File 'setup.py' 
    not found.

如有必要,我可以提供更多详细信息,我们将不胜感激。

最佳答案

尝试以下命令。论文应该让你工作

sudo rm -rf /opt/stack/nova

sudo apt-get purge python-paste

sudo apt-get install python-paste

sudo apt-get purge python-pastedeploy

sudo apt-get install python-pastedeploy

再次执行 unstack.shstack.sh

关于python - DevStack 安装错误 : Directory 'opt/stack/nova' is not installable,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25317919/

相关文章:

javascript - 如何从客户端向服务器发送信息(Flask - python)

python - 经过一段时间后如何更新显示的元素?

python - 将 PIP 配置为在代理后面工作

python mysql安装失败

image - 我可以使用任何带有设置密码的自定义 openstack centos 镜像吗?

python - 如何在 django 中获取一周内每小时的平均值?

python - 了解内置的 next() 函数

python - 如何使用 pipenv 解决 Python 包依赖?

node.js - Bluemix - 对象存储 - node.js - pkgcloud - openstack 返回 401

linux - openstack安装单节点