RuntimeError: Cannot find MXNet library

I installed everything following the instructions from here https://d2l.ai/chapter_installation/index.html#installing-the-framework-and-the-d2l-package
and when I try to import mxnet from d2l, I get the error RuntimeError: Cannot find MXNet library
I tried uninstalling and reinstalling everything, that didn’t work. And I looked through some of the relating posts on here, but nothing from those helped either. Even if I try to use Pytorch or Tensorflow I get similar errors when I import those libraries.

Has anyone encountered this problem before and have been able to fix it?

did you install Pytorch and tensorflow in the Conda environment please check using “conda list” command and check whether it is showing pytorch or tensorflow as installed packages.
you need to do it after activating your d2l environment.
This is the first step for debugging. Please confirm this.