git-afsantos / haros

H(igh) A(ssurance) ROS - Static analysis of ROS application code.
MIT License
191 stars 37 forks source link

No module named bonsai.model #29

Closed droter closed 5 years ago

droter commented 5 years ago

Following the Method 1 install. I am getting this error:

File "./haros-runner.py", line 24, in from haros.haros import main File "/home/matt/lawn_tractor_ws/src/haros/haros/haros.py", line 102, in from .extractor import ProjectExtractor File "/home/matt/lawn_tractor_ws/src/haros/haros/extractor.py", line 34, in from bonsai.model import CodeGlobalScope, pretty_str ImportError: No module named bonsai.model

I have installed the dependencies listed on the README. Is Bonsai this a separate install?

Thanks for your help,

Matt

droter commented 5 years ago

Update: Method 2 installed bonsai

git-afsantos commented 5 years ago

It is a dependency that I forgot to add. Thanks for reminding me, I will fix both the instructions and the dependency list.

In the meantime:

pip install bonsai-code
droter commented 5 years ago

Thanks Andre