I had a problem when I tried to launch XAS software “Larch” on Mac through single-file installers. After I followed the tutorial and installed it (double click the dmg file), when I typed the command “larch”, the terminal showed the followings:
could not read history from /Users/willie/.larch/history.lar
[Errno 13] Permission denied: '/Users/willie/.larch/init.lar'
[Errno 13] Permission denied: '/Users/willie/.larch/history.lar'
[Errno 13] Permission denied: '/Users/willie/.larch/history_larchgui.lar'
[Errno 13] Permission denied: '/Users/willie/.larch/matplotlib/README'
[Errno 13] Permission denied: '/Users/willie/.larch/dlls'
[Errno 2] No such file or directory: '/Users/willie/.larch/dlls/README'
[Errno 13] Permission denied: '/Users/willie/.larch/modules'
[Errno 2] No such file or directory: '/Users/willie/.larch/modules/README'
[Errno 13] Permission denied: '/Users/willie/.larch/plugins'
[Errno 2] No such file or directory: '/Users/willie/.larch/plugins/README'
Traceback (most recent call last):
File "//anaconda3/bin/larch", line 11, in <module>
load_entry_point('xraylarch==0.9.46rc1', 'console_scripts', 'larch')()
File "//anaconda3/lib/python3.7/site-packages/larch/apps.py", line 230, in run_larch
cli = shell(quiet=options.quiet, with_wx=with_wx)
File "//anaconda3/lib/python3.7/site-packages/larch/shell.py", line 56, in __init__
maxhistory=maxhist)
File "//anaconda3/lib/python3.7/site-packages/larch/interpreter.py", line 177, in __init__
for pname in sorted(os.listdir(plugins_dir)):
FileNotFoundError: [Errno 2] No such file or directory: '/Users/willie/.larch/plugins’