Revision history [back]

click to hide/show revision 1
initial version

devstack installation error on pyScss

Hello. I'm trying to install DevStack but stack.sh script fail with the messages below. I'm trying it from a freshly installed Ubuntu 18.04.4 LTS. Is there something I should have done before trying to install it? I followed the instructions at https://docs.openstack.org/devstack/latest/ and issued chmod 755 /opt/stack.

Requirement already satisfied: prettytable===0.7.2 in /usr/local/lib/python3.6/dist-packages (from -c /opt/stack/requirements/upper-constraints.txt (line 479)) (0.7.2)
Collecting pyScss===1.3.4
  Using cached pyScss-1.3.4.tar.gz (120 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3.6 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-p9cmo26v/pyScss/setup.py'"'"'; __file__='"'"'/tmp/pip-install-p9cmo26v/pyScss/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-p9cmo26v/pyScss/pip-egg-info
         cwd: /tmp/pip-install-p9cmo26v/pyScss/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-p9cmo26v/pyScss/setup.py", line 9, in <module>
        from setuptools import setup, Extension, Feature
    ImportError: cannot import name 'Feature'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
+inc/python:pip_install:1                  exit_trap
+./stack.sh:exit_trap:533                  local r=1
++./stack.sh:exit_trap:534                  jobs -p
+./stack.sh:exit_trap:534                  jobs=
+./stack.sh:exit_trap:537                  [[ -n '' ]]
+./stack.sh:exit_trap:543                  '[' -f /tmp/tmp.EmtuA2ERpR ']'
+./stack.sh:exit_trap:544                  rm /tmp/tmp.EmtuA2ERpR
+./stack.sh:exit_trap:548                  kill_spinner
+./stack.sh:kill_spinner:443               '[' '!' -z '' ']'
+./stack.sh:exit_trap:550                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:551                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:553                  type -p generate-subunit
+./stack.sh:exit_trap:554                  generate-subunit 1583806690 458 fail
+./stack.sh:exit_trap:556                  [[ -z /opt/stack/logs ]]
+./stack.sh:exit_trap:559                  /usr/bin/python3.6 /opt/stack/devstack/tools/worlddump.py -d /opt/stack/logs
World dumping... see /opt/stack/logs/worlddump-2020-03-10-022549.txt for details
+./stack.sh:exit_trap:568                  exit 1