devstack installation error on pyScss

asked 2020-03-10 08:33:44 -0600

edms_rj gravatar image

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/ (https://docs.openstack.org/devstack/l...) 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
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2020-03-11 14:33:22 -0600

jumpojoy gravatar image

I think new release of setuptools v46.0.0 with https://github.com/pypa/setuptools/commit/dfd59c2a10e1fd74a9f9c719eaffe2b7ebeb414e (https://github.com/pypa/setuptools/co...) broke pyScss

edit flag offensive delete link more
0

answered 2020-03-10 14:53:31 -0600

Same error since Monday on all my vms, fridays was working. Not your fault

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-03-10 08:32:52 -0600

Seen: 392 times

Last updated: Mar 10