ModuleNotFoundError: No module named 'pycuda'

I am trying to install Ubuntu 18.04 but I get the below error

---------------------------------------------------------------
  CRYOSPARC CONNECT --------------------------------------------
 ---------------------------------------------------------------
  Attempting to register worker machinea to command machinea:39002
  Connecting as unix user usera
  Will register using ssh string: usera@machinea
  If this is incorrect, you should re-run this command with the flag --sshstr <ssh string> 
 ---------------------------------------------------------------
  Connected to master.
 ---------------------------------------------------------------
  Current connected workers:
 ---------------------------------------------------------------
  Autodetecting available GPUs...
Traceback (most recent call last):
  File "bin/connect.py", line 233, in <module>
    gpu_devidxs = check_gpus()
  File "bin/connect.py", line 107, in check_gpus
    num_devs = print_gpu_list()
  File "bin/connect.py", line 24, in print_gpu_list
    import pycuda.driver as cudrv
ModuleNotFoundError: No module named 'pycuda'

I followed an advice in another question and someone suggested trying to install pycuda using

pip install ‘/home/usera/cryosparc/cryosparc_worker/deps_bundle/python/python_packages/pip_packages/pycuda-2020.1.tar.gz’ --no-cache-dir
and this is the output:

Processing /home/usera/cryosparc/cryosparc_worker/deps_bundle/python/python_packages/pip_packages/pycuda-2020.1.tar.gz
Collecting appdirs>=1.4.0 (from pycuda==2020.1)
  Downloading https://files.pythonhosted.org/packages/3b/00/2344469e2084fb287c2e0b57b72910309874c3245463acd6cf5e3db69324/appdirs-1.4.4-py2.py3-none-any.whl
Collecting decorator>=3.2.0 (from pycuda==2020.1)
  Downloading https://files.pythonhosted.org/packages/3d/cc/d7b758e54779f7e465179427de7e78c601d3330d6c411ea7ba9ae2f38102/decorator-5.1.0-py3-none-any.whl
Collecting mako (from pycuda==2020.1)
  Downloading https://files.pythonhosted.org/packages/75/69/c3ab0db9234fa5681a85a1c55203763a62902d56ad76b6d9b9bfa2c83694/Mako-1.1.5-py2.py3-none-any.whl (75kB)
    100% |████████████████████████████████| 81kB 7.6MB/s 
Collecting pytools>=2011.2 (from pycuda==2020.1)
  Downloading https://files.pythonhosted.org/packages/d9/75/5aa0f6275da839b756e88107ea347d486877d69dd98840c824117d7d6c93/pytools-2021.2.8.tar.gz (63kB)
    100% |████████████████████████████████| 71kB 39.9MB/s 
Collecting MarkupSafe>=0.9.2 (from mako->pycuda==2020.1)
  Downloading https://files.pythonhosted.org/packages/fc/d6/57f9a97e56447a1e340f8574836d3b636e2c14de304943836bd645fa9c7e/MarkupSafe-2.0.1-cp36-cp36m-manylinux1_x86_64.whl
Collecting numpy>=1.6.0 (from pytools>=2011.2->pycuda==2020.1)
  Downloading https://files.pythonhosted.org/packages/45/b2/6c7545bb7a38754d63048c7696804a0d947328125d81bf12beaa692c3ae3/numpy-1.19.5-cp36-cp36m-manylinux1_x86_64.whl (13.4MB)
    100% |████████████████████████████████| 13.4MB 144.3MB/s 
Collecting dataclasses>=0.7 (from pytools>=2011.2->pycuda==2020.1)
  Downloading https://files.pythonhosted.org/packages/fe/ca/75fac5856ab5cfa51bbbcefa250182e50441074fdc3f803f6e76451fab43/dataclasses-0.8-py3-none-any.whl
Installing collected packages: appdirs, decorator, MarkupSafe, mako, numpy, dataclasses, pytools, pycuda
  Running setup.py install for pytools ... done
  Running setup.py install for pycuda ... done
Successfully installed MarkupSafe-2.0.1 appdirs-1.4.4 dataclasses-0.8 decorator-5.1.0 mako-1.1.5 numpy-1.19.5 pycuda-2020.1 pytools-2021.2.8

then I run the install command again and I get the same error in my question.

Any advice please?