fusesoc icon indicating copy to clipboard operation
fusesoc copied to clipboard

unknow location for get_edatools from edalize

Open bigjr-mkkong opened this issue 2 years ago • 1 comments

I've tried to install fusesoc 1.12.0-3 from my package manager(pacman) and received the following error message:

File "/usr/lib/python3.11/site-packages/fusesoc/main.py", line 24, in <module>
    from edalize import get_edatool
ImportError: cannot import name 'get_edatool' from 'edalize' (unknown location)

I found that under edalize 0.5.0-2 version, the only way to use get_edatool() function is by using

from edalize.edatool import get_edatool

instead of

from edalize import get_edatool

Please fix this problem in the main repo

bigjr-mkkong avatar Oct 03 '23 17:10 bigjr-mkkong

FuseSoC 1.12 is only compatible with older versions of Edalize. It would be great if we could get FuseSoC 2.2 packaged instead but I'm not sure who to contact about that. Perhaps you can install through pip in the meantime?

olofk avatar Oct 10 '23 20:10 olofk