URGENT: CDefError: :7: duplicate declaration of struct ngcomplex

Version in use:
ngspice-32_64
Python 3.5
PySpice 1.1.4

I am in need of help correcting this error. My objective is to simply run the example provide in the following link https://pyspice.fabrice-salvaire.fr/releases/v1.4/examples/filter/low-pass-rc-filter.html


CDefError Traceback (most recent call last)
in
----> 1 simulator = circuit.simulator(temperature=25, nominal_temperature=25)
2 analysis = simulator.ac(start_frequency=1@u_Hz, stop_frequency=1@u_GHz, number_of_points=10, variation=‘dec’)
3 #print(analysis.out)

~\anaconda3\lib\site-packages\PySpice\Spice\Netlist.py in simulator(self, *args, **kwargs)
1295
1296 def simulator(self, *args, **kwargs):
-> 1297 return CircuitSimulator.factory(self, *args, **kwargs)

~\anaconda3\lib\site-packages\PySpice\Spice\Simulation.py in factory(cls, circuit, *args, **kwargs)
1117
1118 if sub_cls is not None:
-> 1119 return sub_cls(circuit, *args, **kwargs)
1120 else:
1121 raise ValueError(‘Unknown simulator type’)

~\anaconda3\lib\site-packages\PySpice\Spice\NgSpice\Simulation.py in init(self, circuit, **kwargs)
97 ngspice_shared = kwargs.get(‘ngspice_shared’, None)
98 if ngspice_shared is None:
—> 99 self._ngspice_shared = NgSpiceShared.new_instance()
100 else:
101 self._ngspice_shared = ngspice_shared

~\anaconda3\lib\site-packages\PySpice\Spice\NgSpice\Shared.py in new_instance(cls, ngspice_id, send_data)
373 else:
374 cls._logger.info(“New instance for id {}”.format(ngspice_id))
–> 375 instance = cls(ngspice_id=ngspice_id, send_data=send_data)
376 cls._instances[ngspice_id] = instance
377 return instance

~\anaconda3\lib\site-packages\PySpice\Spice\NgSpice\Shared.py in init(self, ngspice_id, send_data, verbose)
392
393 self._library_path = None
–> 394 self._load_library(verbose)
395 self._init_ngspice(send_data)
396

~\anaconda3\lib\site-packages\PySpice\Spice\NgSpice\Shared.py in _load_library(self, verbose)
432 api_path = os.path.join(os.path.dirname(file), ‘api.h’)
433 with open(api_path) as f:
–> 434 ffi.cdef(f.read())
435
436 message = ‘Load library {}’.format(self.library_path)

~\anaconda3\lib\site-packages\cffi\api.py in cdef(self, csource, override, packed, pack)
110 packed=True).
111 “”"
–> 112 self._cdef(csource, override=override, packed=packed, pack=pack)
113
114 def embedding_api(self, csource, packed=False, pack=None):

~\anaconda3\lib\site-packages\cffi\api.py in _cdef(self, csource, override, **options)
124 with self._lock:
125 self._cdef_version = object()
–> 126 self._parser.parse(csource, override=override, **options)
127 self._cdefsources.append(csource)
128 if override:

~\anaconda3\lib\site-packages\cffi\cparser.py in parse(self, csource, override, packed, pack, dllexport)
356 ‘packed’: pack,
357 ‘dllexport’: dllexport}
–> 358 self._internal_parse(csource)
359 finally:
360 self._options = prev_options

~\anaconda3\lib\site-packages\cffi\cparser.py in _internal_parse(self, csource)
396 else:
397 realtype, quals = self._get_type_and_quals(
–> 398 decl.type, name=decl.name, partial_length_ok=True)
399 self._declare('typedef ’ + decl.name, realtype, quals=quals)
400 elif decl.class.name == ‘Pragma’:

~\anaconda3\lib\site-packages\cffi\cparser.py in _get_type_and_quals(self, typenode, name, partial_length_ok)
629 if isinstance(type, pycparser.c_ast.Struct):
630 # ‘struct foobar’
–> 631 tp = self._get_struct_union_enum_type(‘struct’, type, name)
632 return tp, quals
633 #

~\anaconda3\lib\site-packages\cffi\cparser.py in _get_struct_union_enum_type(self, kind, type, name, nested)
776 #
777 if tp.fldnames is not None:
–> 778 raise CDefError(“duplicate declaration of struct %s” % name)
779 fldnames = []
780 fldtypes = []

CDefError: :7: duplicate declaration of struct ngcomplex

could you upgrade to v1.4.3