pulp-platform / snitch_cluster

An energy-efficient RISC-V floating-point compute cluster.
https://pulp-platform.github.io/snitch_cluster/
Apache License 2.0
48 stars 46 forks source link

confusion of ModuleNotFoundError #181

Closed itcastcastcast closed 4 weeks ago

itcastcastcast commented 1 month ago

Dear Mr. Colluca,

When I try your latest version, I encounter issues such as "ModuleNotFoundError: No module named 'snitch' "and other missing library function problems. This is the output from the shell when I run the command sudo docker run -it --rm -v ~/cpp/snitch_cluster:/work -w /work/target/snitch_cluster ghcr.io/pulp-platform/snitch_cluster:main make bin/snitch_cluster.vlt, which I have recorded in out.log. out.log

colluca commented 4 weeks ago

Yes, indeed you have to locally install the package by running pip install -e .. Will update tutorial instructions as soon as possible.