ModuleNotFoundError: No module named 'mxnet'

Hi ,

I did pip install mxnet in my local as given in the d2l.ai book.
I wanted the cpu version, so no additional commands.
I get the error “ModuleNotFoundError: No module named ‘mxnet’”
Could someone help me?

Thanks!

Swathy

You might be installing MXNet in the wrong Python environment. If you’re using Conda, conda activate your_env before pip install mxnet. If you’re using Python 3, try pip3 install mxnet. I expect you’re having issues installing other Python packages too.