ci-group / revolve

Robot evolution framework for the Triangle of Life project
https://evosphere.eu/
29 stars 32 forks source link

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

Open GabMartino opened 4 years ago

GabMartino commented 4 years ago

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.