diff --git a/include/dynamic-graph/python/interpreter.hh b/include/dynamic-graph/python/interpreter.hh
index 7ac7f05a9d81d4757901eae4ebe6b6f61d278400..6889cb4c811c11557cc0a8f960fa568d7d115b9f 100644
--- a/include/dynamic-graph/python/interpreter.hh
+++ b/include/dynamic-graph/python/interpreter.hh
@@ -51,8 +51,6 @@ class DYNAMIC_GRAPH_PYTHON_DLLAPI Interpreter {
   PyThreadState* _pyState;
   /// Pointer to the dictionary of global variables
   PyObject* globals_;
-  /// Pointer to the dictionary of local variables
-  PyObject* locals_;
   PyObject* mainmod_;
 };
 }  // namespace python