Stumped by relative imports
<p>I don't know what's going on:</p>

<pre><code>$ ls
__init__.py  main.py  module.py
$ cat main.py
from . import module
$ python3 main.py
Traceback (most recent call last):
  File "main.py", line 1, in &lt;module&gt;
    from . import module
ValueError: Attempted relative import in non-package
</code></pre>
