Topaz runtime error

Hi,
I recently installed topaz as instructed in their github page.
which topaz gives me ~/.local/bin/topaz.
But when I try to use this recently installed topaz in CS, I’m getting this following error:

[CPU: 275.8 MB] Traceback (most recent call last):
File “cryosparc_worker/cryosparc_compute/run.py”, line 84, in cryosparc_compute.run.main
File “/home/emPackage/CS_3.2/cryosparc_worker/cryosparc_compute/jobs/topaz/run_topaz.py”, line 115, in run_topaz_wrapper_train
topaz_version = utils.get_topaz_version(topaz_exec_path)
File “/home/emPackage/CS_3.2/cryosparc_worker/cryosparc_compute/jobs/topaz/topaz_utils.py”, line 101, in get_topaz_version
f’Cannot determine topaz version, command “{topaz_exec_path} --version” did not produce valid output: “{topaz_version}”’
AssertionError: Cannot determine topaz version, command “/home/user/.local/bin/topaz --version” did not produce valid output: “ModuleNotFoundError: No module named ‘topaz’”

However, topaz --version yields TOPAZ 0.2.4.

Please help me out here, I’m not sure what is going on.
Thanks.

1 Like

@diffracteD
Does a wrapper script through which cryoSPARC invokes topaz resolve the problem?