Search code examples
mxnet

mxnet installation: How to choose python version?


I installed mxnet in linux mint. I use anaconda for python 3.5. I followed the instruction and it was successfully installed. Both mxnet and the anaconda are latest version. However, when I tried the code:

import mxnet as mx
res = mx.nd.array([1,2,3])

I got the error:

AttributeError: module 'mxnet' has no attribute 'nd'

if I typed mx, I got: <module 'mxnet' (namespace)>

after repeating the installation and checking the scripts, I saw mxnet was installed under python 2.7, and graphviz is also under python 2.7. How can change them to python 3.5?


Solution

  • Working for MXNet python 3 is still in progress. Some functions are not fully tested yet.

    At this time I suggest using python 2.7.