Attempted relative import in non-package (after 2to3) Attempted relative import in non-package (after 2to3) python-3.x python-3.x

Attempted relative import in non-package (after 2to3)


Since there is no __init__.py, the working directory is a non-package.

You don't need a relative import.

Or.

You need an __init__.py to make a package.