You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/31 07:45:49 UTC

[GitHub] DamonDeng commented on issue #4794: ImportError for mxnet: cannot import name libinfo

DamonDeng commented on issue #4794: ImportError for mxnet: cannot import name libinfo
URL: https://github.com/apache/incubator-mxnet/issues/4794#issuecomment-326217436
 
 
   duplicate with #4746 .
   
   My comment in #4746 
   
   One of the reason for this issue is that you run the python command in the exact directory you install MXNet.
   
   Say that you clone the MXNet project into /home/user1/incubator-mxnet, you build the mxnet library then go to the python directory to run install command python setup.py install --user.
   
   After that , please exit the python directory before you run python to test mxnet.
   
   As there is a directory named mxnet in the incubator-mxnet/python directory, if you run python in directory incubator-mxnet/python and then import mxnet as mx, python will try to import the directory instead of the mxnet lib.
   
   In conclusion, do not start python shell in the incubator-mxnet/python directory, or else you will get the cannot import name libinfo error message.
   
   Please create a new issue to report it if you didn't run python shell in incubator-mxnet/python while you get the same error message cannot import name libinfo
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services