Compiling SC3


I have a problem to compile SC3. Perhaps someone can help me which this error message, as I have really no idea how to fix it:
~/sc3-src/build> make
[ 0%] Built target seiscomp3_config
[ 0%] Linking CXX shared module …/…/…/…/lib/
File “”, line 6
print ‘Byte-compiling python modules…’
SyntaxError: Missing parentheses in call to ‘print’. Did you mean print(‘Byte-compiling python modules…’)?
make[2]: *** [src/system/libs/swig/CMakeFiles/_Config.dir/build.make:98: lib/] Error 1
make[2]: *** Deleting file ‘lib/’
make[1]: *** [CMakeFiles/Makefile2:500: src/system/libs/swig/CMakeFiles/_Config.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

I am working on a SUSEleap-System

Thanks a lot, Andrea

It depends on the branch you try to compile. Only the master branch supports Python3 which you are using.

Thanks a lot for your help.
Yes, this was the problem, as I work on a SUSELeap15.1
So, compilation worked well, but when I want to do “seiscomp setup” I got the following error: “command ‘setup’ failed: No module named elementtree”. DO you have any idea whats the problem?

Cheers Andrea

elementtree is a Python module which is required by the setup method. You must install it either via pip3 or from the package manager. I think it is called python-lxml.


Dear Jan,
many thanks, sometimes it is really stupid, I thought, that “elementtree” was telling me something, but…
It was python-xml missing, now everything is working fine.

many thanks again Andrea