1diff --git a/src/python/omorfi/entryguessing/gradation.py b/src/python/omorfi/entryguessing/gradation.py
2index 7d3ed8cb..825d7ead 100755
3--- a/src/python/omorfi/entryguessing/gradation.py
4+++ b/src/python/omorfi/entryguessing/gradation.py
5@@ -17,8 +17,8 @@
6 # You should have received a copy of the GNU General Public License
7 # along with this program. If not, see <http://www.gnu.org/licenses/>.
8
9-from .omorfi.error_logging import fail_guess_because
10-from .omorfi.string_mangling import replace_rightmost, replace_rightmosts
11+from omorfi.error_logging import fail_guess_because
12+from omorfi.string_manglers import replace_rightmost, replace_rightmosts
13
14
15 def gradation_make_morphophonemes(wordmap):
16diff --git a/src/python/omorfi/entryguessing/guess_new_class.py b/src/python/omorfi/entryguessing/guess_new_class.py
17index 1884716b..3a781bfc 100755
18--- a/src/python/omorfi/entryguessing/guess_new_class.py
19+++ b/src/python/omorfi/entryguessing/guess_new_class.py
20@@ -17,8 +17,8 @@
21 # You should have received a copy of the GNU General Public License
22 # along with this program. If not, see <http://www.gnu.org/licenses/>.
23
24-from .error_logging import fail_guess_because
25-from .string_manglers import three_syllable
26+from omorfi.error_logging import fail_guess_because
27+from omorfi.string_manglers import three_syllable
28
29
30 def guess_new_class(wordmap):
31diff --git a/src/python/omorfi/entryguessing/plurale_tantum.py b/src/python/omorfi/entryguessing/plurale_tantum.py
32index a8af81fb..95fc4b7b 100755
33--- a/src/python/omorfi/entryguessing/plurale_tantum.py
34+++ b/src/python/omorfi/entryguessing/plurale_tantum.py
35@@ -17,8 +17,8 @@
36 # You should have received a copy of the GNU General Public License
37 # along with this program. If not, see <http://www.gnu.org/licenses/>.
38
39-from .error_logging import fail_guess_because
40-from .omorfi.string_manglers import replace_rightmost, replace_rightmosts
41+from omorfi.error_logging import fail_guess_because
42+from omorfi.string_manglers import replace_rightmost, replace_rightmosts
43
44
45 def plurale_tantum_get_singular_stem(wordmap):
46diff --git a/src/python/omorfi/formats/experimental_xml_formatter.py b/src/python/omorfi/formats/experimental_xml_formatter.py
47index abccbff5..11b0f518 100755
48--- a/src/python/omorfi/formats/experimental_xml_formatter.py
49+++ b/src/python/omorfi/formats/experimental_xml_formatter.py
50@@ -19,9 +19,9 @@
51
52 from xml.sax.saxutils import escape as xml_escape
53
54-from ftb3_formatter import Ftb3Formatter
55+from .ftb3_formatter import Ftb3Formatter
56
57-from .settings import version_id_easter_egg
58+from omorfi.settings import version_id_easter_egg
59
60
61 def make_xmlid(s):
62diff --git a/src/python/omorfi/formats/lexc_formatter.py b/src/python/omorfi/formats/lexc_formatter.py
63index 4ec616b7..b146129f 100755
64--- a/src/python/omorfi/formats/lexc_formatter.py
65+++ b/src/python/omorfi/formats/lexc_formatter.py
66@@ -19,8 +19,8 @@
67
68 # functions for formatting the database data to lexc
69
70-from .settings import deriv_boundary, morph_boundary, newword_boundary, optional_hyphen, stub_boundary, word_boundary
71-from .string_manglers import lexc_escape
72+from omorfi.settings import deriv_boundary, morph_boundary, newword_boundary, optional_hyphen, stub_boundary, word_boundary
73+from omorfi.string_manglers import lexc_escape
74
75
76 def format_copyright_lexc():