Dear mailing list user,
 
When running an example file of Larch-0.9.24 with Python2 on Ubuntu x86_64, the following error was reported.
  File "Py_usinglarch.py", line 32, in <module>
    autobk(xafsdat.energy, xafsdat.mu, rbkg=1.0, _larch=my_larch)
  File "/usr/local/lib/python2.7/dist-packages/larch/__init__.py", line 37, in wrapper
    return fcn(*args, **keywords)
  File "/usr/share/larch/plugins/xafs/autobk.py", line 187, in autobk
    fit.leastsq()
  File "/usr/local/lib/python2.7/dist-packages/larch/fitting/minimizer.py", line 395, in leastsq
    lsout = leastsq(self.__residual, self.vars, **lskws)
  File "/usr/local/lib/python2.7/dist-packages/larch/fitting/minimizer.py", line 222, in leastsq
    shape, dtype = _check_func('leastsq', 'func', func, x0, args, n)
ValueError: need more than 1 value to unpack

Is Larch-0.9.24 compatible with Python2 on Ubuntu x86_64? If not, what packages and dependencies could we install to make it work on Python2? Or is Larch-0.9.24 only compatible with Python3?
 
Many thanks in advance,
Matthias