簡體   English   中英

DevStack安裝錯誤:目錄'opt / stack / nova'不可安裝

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

我正在嘗試在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

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM