Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b3 module missing #2

Open
pirobot opened this issue Nov 19, 2016 · 2 comments
Open

b3 module missing #2

pirobot opened this issue Nov 19, 2016 · 2 comments

Comments

@pirobot
Copy link

pirobot commented Nov 19, 2016

It seems that the b3.py module is missing:

python test_basenode.py 
Traceback (most recent call last):
  File "test_basenode.py", line 6, in <module>
    import b3
ImportError: No module named b3

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@thecrazything
Copy link

thecrazything commented Apr 3, 2017

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)

@pirobot
Copy link
Author

pirobot commented Apr 4, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants