DamonDeng commented on issue #4746: ImportError for mxnet: cannot import name libinfo URL: https://github.com/apache/incubator-mxnet/issues/4746#issuecomment-326216878 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: us...@infra.apache.org
With regards, Apache Git Services