pulp-platform / snitch_cluster

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

confusion of ModuleNotFoundError #181

Closed itcastcastcast closed 3 months ago

itcastcastcast commented 3 months 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 3 months ago

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