[Ifeffit] LARCH installation issue in UBUNTU 18

Uma Mahendra Kumar K umamahendra at vit.ac.in
Wed Dec 5 03:52:55 CST 2018

Dear All,

              I wanted to install LARCH on Ubuntu 18. And I could not.

I have tried several methods  (miniconda, Anaconda, from source and the Linux Binaries and even through pip).

 For several issues , I found answers in Ifeffit mailing list. This is new.

lmfit is not able to import 'ufloat'.

Actually "ufloat" belongs to "uncertainties". I could not able to link(port) them properly.

I need your help to install Larch.

the following is the error message

Traceback (most recent call last):
  File "/usr/local/bin/larch", line 58, in <module>
    import larch
  File "/root/.local/lib/python2.7/site-packages/larch/__init__.py", line 25, in <module>
    from .shell import shell
  File "/root/.local/lib/python2.7/site-packages/larch/shell.py", line 10, in <module>
    from .interpreter import Interpreter
  File "/root/.local/lib/python2.7/site-packages/larch/interpreter.py", line 18, in <module>
    from . import builtins
  File "/root/.local/lib/python2.7/site-packages/larch/builtins.py", line 22, in <module>
    from . import fitting
  File "/root/.local/lib/python2.7/site-packages/larch/fitting/__init__.py", line 20, in <module>
    from lmfit import (Parameter, Parameters, Minimizer, conf_interval,
ImportError: cannot import name ufloat


Asst Prof of Physics

VIT university -Bharat.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://millenia.cars.aps.anl.gov/pipermail/ifeffit/attachments/20181205/fb61164d/attachment.html>

More information about the Ifeffit mailing list