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

Tutorial 1 - the 'package' argument is required to perform a relative import for #87

Open
GabMartino opened this issue Mar 17, 2020 · 0 comments

Comments

@GabMartino
Copy link

In the tutorial 1, seems there's a problem with the paths.
After typing:
(.venv) ./revolve.py --simulator-cmd=gazebo --manager ./tutorial1.py

I have:
STARTING
Traceback (most recent call last):
File "./revolve.py", line 69, in
main()
File "./revolve.py", line 62, in main
run(loop, arguments)
File "./revolve.py", line 28, in run
manager = importlib.import_module(manager_lib).run
File "/usr/lib/python3.6/importlib/init.py", line 121, in import_module
raise TypeError(msg.format(name))
TypeError: the 'package' argument is required to perform a relative import for '...revolveProject.tutorial'

Actually I used another folder and not the root one as mentioned in the tutorial, but following exactly the tutorial I received the same message.

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

1 participant