In the pyLTSPICE SpiceEditor class, it inherits from the spicelib SpiceEditor class - but the create_blank argument is not passed as a keyword argument, see here. This causes a TypeError: SpiceEditor.__init__() takes from 2 to 3 positional arguments but 4 were given. Most likely this just didn't get updated when spicelib was updated.
I was able to fix this by changing the above line to be super().__init__(netlist_file, encoding, create_blank=create_blank).
The alternative being to revert to an older version of spicelib.
In the pyLTSPICE SpiceEditor class, it inherits from the spicelib SpiceEditor class - but the create_blank argument is not passed as a keyword argument, see here. This causes a
TypeError: SpiceEditor.__init__() takes from 2 to 3 positional arguments but 4 were given. Most likely this just didn't get updated when spicelib was updated.I was able to fix this by changing the above line to be
super().__init__(netlist_file, encoding, create_blank=create_blank).The alternative being to revert to an older version of spicelib.