Xilinx/finn-examples

build-all.sh fails with AttributeError: module 'attr' has no attribute 'define'

rstar900 opened this issue · 1 comments

Successfully installed finn
WARNING: Unable to find /settings64.sh
WARNING: Functionality dependent on Vitis will not be available.
WARNING: If you need Vitis, ensure VITIS_PATH is set correctly and mounted into the Docker container.
Found Vivado at /tools/Xilinx/Vivado/2022.1
Found Vitis HLS at /tools/Xilinx/Vitis_HLS/2022.1
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/pdb.py", line 1704, in main
pdb._runscript(mainpyfile)
File "/opt/conda/lib/python3.8/pdb.py", line 1573, in _runscript
self.run(statement)
File "/opt/conda/lib/python3.8/bdb.py", line 580, in run
exec(cmd, globals, locals)
File "", line 1, in
File "/home/rstar900/git_repos/finn-examples/build/bnn-pynq/build.py", line 1, in
import finn.builder.build_dataflow as build
File "/home/rstar900/git_repos/finn-examples/build/finn/src/finn/builder/build_dataflow.py", line 29, in
import clize
File "/opt/conda/lib/python3.8/site-packages/clize/init.py", line 7, in
from clize.parser import Parameter
File "/opt/conda/lib/python3.8/site-packages/clize/parser.py", line 14, in
from sigtools import modifiers
File "/opt/conda/lib/python3.8/site-packages/sigtools/init.py", line 28, in
from sigtools.specifiers import signature
File "/opt/conda/lib/python3.8/site-packages/sigtools/specifiers.py", line 42, in
from sigtools import _util, modifiers, signatures, _specifiers
File "/opt/conda/lib/python3.8/site-packages/sigtools/modifiers.py", line 36, in
from sigtools import _util, _specifiers, _signatures
File "/opt/conda/lib/python3.8/site-packages/sigtools/_specifiers.py", line 23, in
from sigtools import _signatures, _util
File "/opt/conda/lib/python3.8/site-packages/sigtools/_signatures.py", line 104, in
@attr.define(eq=False)
AttributeError: module 'attr' has no attribute 'define'

#43 already another issue