New comment by k4leg on void-packages repository https://github.com/void-linux/void-packages/pull/17868#issuecomment-570652860 Comment: This should work: ``` import rope.base.project try: myproject = rope.base.project.Project('/path/to/folder/') except AttributeError: myproject = rope.base.project.Project('/path/to/folder/') ``` I think there are other methods for creating the `.ropeproject` folder without error, but I am new to python and don't know how to do it differently.