CryoSPARC Worker Connection Failure -> KeyError: 'CRYOSPARC_USE_GPU'

Hi,

I’m attempting to install a standalone instance of cryosparc on a workstation. When installing the master node, the worker fails to connect with the following error:


CRYOSPARC CONNECT --------------------------------------------

Attempting to register worker x113899 to command x113899:39002
Connecting as unix user cryosparc_user
Will register using ssh string: cryosparc_user@x113899
If this is incorrect, you should re-run this command with the flag --sshstr

Connected to master.

Current connected workers:

Traceback (most recent call last):
File “bin/connect.py”, line 220, in
if os.environ[‘CRYOSPARC_USE_GPU’] == “true” and not args.nogpu:
File “/home/cryosparc_user/software/cryosaprc/cryosparc_worker/deps/anaconda/envs/cryosparc_worker_env/lib/python3.8/os.py”, line 675, in getitem
raise KeyError(key) from None
KeyError: ‘CRYOSPARC_USE_GPU’

I get a similar error when trying to manually connect the worker using cryosparcw connect. My first guess is that this might be a python related issue but I don’t know. Thank you in advance for any help.

Welcome to the forum @CraigCraigson.
I wonder whether the cryosparc_worker/install.sh step, expected to run implicitly during a --standalone installation, completed successfully.
Please can you post the output of

grep -v LICENSE /home/cryosparc_user/software/cryosaprc/cryosparc_worker/config.sh