I download the lates official mxnet 1.4 docker and ran. there is python 2.7 and I installed python 3.6 than
pip3.6 install mxnet-mkl
after that :
root@d20e9a60b1d9:/mxnet# python3.6
Python 3.6.7 (default, Oct 25 2018, 09:16:13)
[GCC 5.4.0 20160609] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
import mxnet as mx
Illegal instruction (core dumped)
what could be the problem ? is there any python 3.6 + mxnet 1.4 based docker . ?
what OS are you using? what location did you obtain the docker image you’re using. And if you’re using a docker image why do you need run install mxnet-mkl command
docker pull mxnet/python:1.4.0_cpu_mkl_py3
docker run -ti -v /data/bin/deploy/:/deploy mxnet/python:1.4.0_cpu_mkl_py3
and
root@06b8a69cd55c:/mxnet# python3.5
Python 3.5.2 (default, Nov 12 2018, 13:43:14)
[GCC 5.4.0 20160609] on linux
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import mxnet as mx
Illegal instruction (core dumped)
root@06b8a69cd55c:/mxnet#
Looks like the docker you’re trying to use was not built correctly. If you’re not trying to bring in other dependencies in your docker and all you need is python3.6 and mxnet1.4, I would advise building your own docker image from a suitable base image and adding command to setup a python3.6 env and install mxnet-mkl via pip