ibex-demo-system icon indicating copy to clipboard operation
ibex-demo-system copied to clipboard

The pip install setup for the container seems incomplete as fusesoc throws an error on a clean run.

Open Sam-Vervaeck opened this issue 1 year ago • 2 comments
trafficstars

When creating the container fresh after cloning this repository and when into the VNC viewer, running the fusesoc command: fusesoc --cores-root=. run --target=sim --tool=verilator --setup --build lowrisc:ibex:demo_system results in an error: `ERROR: Traceback (most recent call last): File "util/check_tool_requirements.py", line 10, in from packaging.version import Version ModuleNotFoundError: No module named 'packaging'

ERROR: Failed to build lowrisc:ibex:demo_system:0 : pre_build script 'check_tool_requirements': ['python3', 'util/check_tool_requirements.py'] exited with error code 1`

After running pip install packaging the fusesoc command runs without errors

Sam-Vervaeck avatar Mar 05 '24 01:03 Sam-Vervaeck

I think you're right. We need to add packaging to https://github.com/lowRISC/ibex-demo-system/blob/main/python-requirements.txt Would you like to contribute this with a pull request? I'm happy to do it otherwise.

marnovandermaas avatar Mar 05 '24 09:03 marnovandermaas

I'm not very familiar with the python requirements flow, would have to figure it out first.

Sam-Vervaeck avatar Mar 07 '24 20:03 Sam-Vervaeck

I see that it has been resolved in a commit.

Sam-Vervaeck avatar Aug 09 '24 23:08 Sam-Vervaeck

Thanks for following up on this issue Sam!

marnovandermaas avatar Aug 12 '24 07:08 marnovandermaas