Cant import mxnet

#1

either as mxnet or an alias of mx, into a Colab notebook.

https://github.com/paulgureghian/MXNet_Projects/blob/master/MXNet_Gluon.ipynb

#2

hi,

how is mxnet installed on the colab notebook? if you can try uninstalling and reinstalling via using
pip install mxnet-cu90mkl

the error seems to indicates that the mxnet installation is not properly linked to cuda shared object libraries.

#3

I used !pip install -q mxnet-cu92

#4

I used cu90mkl and it still faulted

#6

in one of the colab notebook cells ?

#7

actually looks like the issue is because of colab is using cuda 10.0 instead of 9.2.

See the following link for discussion:

Seems like the fix is to install mxnet with !pip install mxnet-cu100

#8

I didnt see that version on the MXNet site. is it a valid option ?

#9

yes it is.

from pypi: https://pypi.org/project/mxnet-cu100/

#10

ok. thanks. lets see if it works

#11

did you nvcc --version ?

#12

Ok. That worked. good job. thanks