Errors Using lensfun-convert-lcp

I am on mac osx Big Sur 11.3
used Homebrew to install LensFun
Have copied SONY (Voigtlander MACRO APO-LANTHAR 65mm F2 Aspherical) - RAW.lcp to a directory
/Users/raj/Pictures/AdobeLensData
I cd to this directory and use this command
iMac:AdobeLensData raj$ python3 /Users/raj/Pictures/AdobeLensData/lensfun-convert-lcp.py . --db-path /Users/raj/.local/share/lensfun/

I get many lines of errors and if I don’t Ctrl+c to stop it will continue giving errors
Sample of errors

Blockquote
Warning: No Lensfun database found.
Warning: No Lensfun database found.
Warning: No Lensfun database found.
Warning: No Lensfun database found.
Warning: No Lensfun database found.
Warning: No Lensfun database found.
Warning: No Lensfun database found.
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 116, in spawn_main
Warning: No Lensfun database found.
exitcode = _main(fd, parent_sentinel)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 125, in _main
prepare(preparation_data)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 236, in prepare
_fixup_main_from_path(data[‘init_main_from_path’])
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 287, in _fixup_main_from_path
main_content = runpy.run_path(main_path,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 268, in run_path
return _run_module_code(code, init_globals, run_name,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 97, in _run_module_code
_run_code(code, mod_globals, init_globals,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/Users/raj/Pictures/AdobeLensData/lensfun-convert-lcp.py”, line 1053, in
lcp_lenses = read_lcp_files()
File “/Users/raj/Pictures/AdobeLensData/lensfun-convert-lcp.py”, line 1033, in read_lcp_files
pool = multiprocessing.Pool()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py”, line 119, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 212, in init
self._repopulate_pool()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 303, in _repopulate_pool
Traceback (most recent call last):
File “”, line 1, in
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 116, in spawn_main
return self._repopulate_pool_static(self._ctx, self.Process,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 326, in _repopulate_pool_static
exitcode = _main(fd, parent_sentinel)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 125, in _main
w.start()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py”, line 121, in start
prepare(preparation_data)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 236, in prepare
self._popen = self._Popen(self)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py”, line 284, in _Popen
_fixup_main_from_path(data[‘init_main_from_path’])
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 287, in _fixup_main_from_path
Warning: No Lensfun database found.
return Popen(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py”, line 32, in init
main_content = runpy.run_path(main_path,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 268, in run_path
super().init(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_fork.py”, line 19, in init
self._launch(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py”, line 42, in _launch
return _run_module_code(code, init_globals, run_name,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 97, in _run_module_code
prep_data = spawn.get_preparation_data(process_obj._name)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 154, in get_preparation_data
_run_code(code, mod_globals, init_globals,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 87, in _run_code
_check_not_importing_main()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 134, in _check_not_importing_main
exec(code, run_globals)
File “/Users/raj/Pictures/AdobeLensData/lensfun-convert-lcp.py”, line 1053, in
raise RuntimeError(’’’
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.

    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.
lcp_lenses = read_lcp_files()

File “/Users/raj/Pictures/AdobeLensData/lensfun-convert-lcp.py”, line 1033, in read_lcp_files
Traceback (most recent call last):
pool = multiprocessing.Pool()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py”, line 119, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 212, in init
File “”, line 1, in
self._repopulate_pool()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 303, in _repopulate_pool
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 116, in spawn_main
return self._repopulate_pool_static(self._ctx, self.Process,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 326, in _repopulate_pool_static
exitcode = _main(fd, parent_sentinel)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 125, in _main
w.start()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py”, line 121, in start
prepare(preparation_data)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 236, in prepare
self._popen = self._Popen(self)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py”, line 284, in _Popen
_fixup_main_from_path(data[‘init_main_from_path’])
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 287, in _fixup_main_from_path
return Popen(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py”, line 32, in init
super().init(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_fork.py”, line 19, in init
main_content = runpy.run_path(main_path,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 268, in run_path
self._launch(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py”, line 42, in _launch
Warning: No Lensfun database found.
prep_data = spawn.get_preparation_data(process_obj._name)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 154, in get_preparation_data
return _run_module_code(code, init_globals, run_name,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 97, in _run_module_code
_check_not_importing_main()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 134, in _check_not_importing_main
_run_code(code, mod_globals, init_globals,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 87, in _run_code
raise RuntimeError(’’’
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.

    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.
exec(code, run_globals)

File “/Users/raj/Pictures/AdobeLensData/lensfun-convert-lcp.py”, line 1053, in
Traceback (most recent call last):
lcp_lenses = read_lcp_files()
File “”, line 1, in
File “/Users/raj/Pictures/AdobeLensData/lensfun-convert-lcp.py”, line 1033, in read_lcp_files
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 125, in _main
prepare(preparation_data)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 236, in prepare
pool = multiprocessing.Pool()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py”, line 119, in Pool
_fixup_main_from_path(data[‘init_main_from_path’])
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 287, in _fixup_main_from_path
return Pool(processes, initializer, initargs, maxtasksperchild,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 212, in init
main_content = runpy.run_path(main_path,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 268, in run_path
self._repopulate_pool()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 303, in _repopulate_pool
return _run_module_code(code, init_globals, run_name,
return self._repopulate_pool_static(self._ctx, self.Process,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 97, in _run_module_code
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 326, in _repopulate_pool_static
_run_code(code, mod_globals, init_globals,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 87, in _run_code
exec(code, run_globals)
File “/Users/raj/Pictures/AdobeLensData/lensfun-convert-lcp.py”, line 1053, in
w.start()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py”, line 121, in start
self._popen = self._Popen(self)
lcp_lenses = read_lcp_files()
File “/Users/raj/Pictures/AdobeLensData/lensfun-convert-lcp.py”, line 1033, in read_lcp_files
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py”, line 284, in _Popen
return Popen(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py”, line 32, in init
pool = multiprocessing.Pool()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py”, line 119, in Pool
return Pool(processes, initializer, initargs, maxtasksperchild,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 212, in init
super().init(process_obj)
Traceback (most recent call last):
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_fork.py”, line 19, in init
File “”, line 1, in
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 116, in spawn_main
self._repopulate_pool()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 303, in _repopulate_pool
self._launch(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py”, line 42, in _launch
exitcode = _main(fd, parent_sentinel)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 125, in _main
return self._repopulate_pool_static(self._ctx, self.Process,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/pool.py”, line 326, in _repopulate_pool_static
Traceback (most recent call last):
File “”, line 1, in
prep_data = spawn.get_preparation_data(process_obj._name)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 154, in get_preparation_data
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 116, in spawn_main
prepare(preparation_data)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 236, in prepare
w.start()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/process.py”, line 121, in start
_fixup_main_from_path(data[‘init_main_from_path’])
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 287, in _fixup_main_from_path
exitcode = _main(fd, parent_sentinel)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 125, in _main
self._popen = self._Popen(self)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/context.py”, line 284, in _Popen
prepare(preparation_data)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 236, in prepare
main_content = runpy.run_path(main_path,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 268, in run_path
return Popen(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py”, line 32, in init
_check_not_importing_main()
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 134, in _check_not_importing_main
_fixup_main_from_path(data[‘init_main_from_path’])
super().init(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 287, in _fixup_main_from_path
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_fork.py”, line 19, in init
return _run_module_code(code, init_globals, run_name,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 97, in _run_module_code
self._launch(process_obj)
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/popen_spawn_posix.py”, line 42, in _launch
_run_code(code, mod_globals, init_globals,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 87, in _run_code
main_content = runpy.run_path(main_path,
File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py”, line 268, in run_path
raise RuntimeError(’’’
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.

    This probably means that you are not using fork to start your
    child processes and you have forgotten to use the proper idiom
    in the main module:

        if __name__ == '__main__':
            freeze_support()
            ...

    The "freeze_support()" line can be omitted if the program
    is not going to be frozen to produce an executable.
prep_data = spawn.get_preparation_data(process_obj._name)

File “/usr/local/Cellar/python@3.9/3.9.4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/multiprocessing/spawn.py”, line 154, in get_preparation_data
exec(code, run_globals)

Blockquote

Did you copy this file out of the lensfun source? How did it get there?

Yes, first I tried the command then the script as it also gave this error so I tried the script.