diff --git a/python/openEMS/__init__.py b/python/openEMS/__init__.py
index fb1ddb9..734aa76 100644
--- a/python/openEMS/__init__.py
+++ b/python/openEMS/__init__.py
@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
#
# Shortcut openEMS import
+from __future__ import absolute_import
+
from openEMS.openEMS import openEMS
diff --git a/python/openEMS/nf2ff.py b/python/openEMS/nf2ff.py
index b6d38d0..b3792ff 100644
--- a/python/openEMS/nf2ff.py
+++ b/python/openEMS/nf2ff.py
@@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
#
+from __future__ import absolute_import
import os
import numpy as np
diff --git a/python/openEMS/ports.py b/python/openEMS/ports.py
index 1af1564..4edd68d 100644
--- a/python/openEMS/ports.py
+++ b/python/openEMS/ports.py
@@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
#
+from __future__ import absolute_import
import os
import numpy as np