boldport/pcbmode

cannot perform relative import

Closed this issue · 2 comments

having a lot of problems with relative import when trying to run pcbmode.py

[paul@trunks pcbmode]# python pcbmode/pcbmode.py
Traceback (most recent call last):
   File "pcbmode/pcbmode.py", line 15, in <module>
      from . import config
SystemError: Parent module '' not loaded, cannot perform relative import

tested using python3 and python2 on linux. also tested using python2 on OSX.

Have you looked at the pending pull request from @nocko with documentation? I'm really behind sorting this out. Sorry!

Oh okay. That works! Awesome!