Skip to content

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

@GabMartino

Description

@GabMartino

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions