Open pirobot opened 7 years ago
I managed to find a "fix" (albeit a messy one). Copy the b3 init.py to its parent folder. Change all "import b3" to "import behavior3py as b3". New folder structure will then be:
behavior3py
| __init__.py (copied from the b3 __init__.py)
| b3
| __init__.py (empty file)
| actions
| composites
| core
| decorators
| tests
For some reason, this works (running python 2.7)
Thanks, but unfortunately that does not work for me (also using Python 2.7). Instead, I now get the error:
$ python test_basenode.py
Traceback (most recent call last):
File "test_basenode.py", line 6, in <module>
import behavior3py as b3
ImportError: No module named behavior3py
It seems that the b3.py module is missing: