SystemError: Parent module '' not loaded, cannot perform relative import
Python 3.5.x
Python 2 -> Python 3.5 に更新しているときに出たエラー
python
(python 2)
from MyModule import *
(Python 3)
import sys
sys.path.append('.')
from path.to.MyModule import *
python
(python 2)
from MyModule import *
(Python 3)
import sys
sys.path.append('.')
from path.to.MyModule import *