diff --git a/src/swig/CMakeLists.txt b/src/swig/CMakeLists.txt
index 721f166fca9a05cc2bdae11ad512becdd2166011..e0e06ff92e5d67aa1bcb79d12e749bcb3454060f 100644
--- a/src/swig/CMakeLists.txt
+++ b/src/swig/CMakeLists.txt
@@ -33,7 +33,6 @@ link_directories(${Boost_LIBRARY_DIRS})
 # find_package(PythonLibs 3.8)
 set(PYTHON_LIBRARIES "/usr/lib/x86_64-linux-gnu/libpython3.8.so")
 set(PYTHON_INCLUDE_DIRS "/usr/include/python3.8")
-find_package(PythonLibs 3.8)
 find_package(PythonInterp 3.8)
 # idea taken from pyplot build system 
 #execute_process(