Torch.cuda.is_available returning false despite nvidia graphics card installed


I have a GPU nvidia driver 552.44
installed cuda 12.4
trying to run a program with TRUE for gpu
but am getting the message FALSE ; i.e. cpu
meaning torch.cuda.is_available returns false when what I need is TRUE
dependency problem?
Thank you

Also, I am using JupyterLab dektop without Anaconda Navigator. since Anaconda doesn’t run jupyterlab for some reason unknown to me. may that be the problem? although I don’t see why.
assistance would be greatly appreciated