简体   繁体   English

DevStack安装错误:目录'opt / stack / nova'不可安装

[英]DevStack Installation Error: Directory 'opt/stack/nova' is not installable

I'm trying to install Devstack on Ubuntu 14.04 all of which is running in a VirtualBox VM. 我正在尝试在Ubuntu 14.04上安装Devstack,所有这些都在VirtualBox VM中运行。 When I run ./stack.sh the script runs for a little while then I get this error in the terminal: 当我运行./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

The pip.log shows: 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.

I can provide more details if necessary, any help would be appreciated. 如有必要,我可以提供更多详细信息,任何帮助将不胜感激。

Try the following commands. 请尝试以下命令。 Theses should get you working 论文应该让你工作

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

do an unstack.sh and stack.sh again 再次执行unstack.shstack.sh

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

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