Cannot find the module


#1

when I was installing the mxnet_cu90, it shows that it has successfully installed. the CMD shows:

Successfully installed mxnet-cu90-1.1.0b20180213

But when type import mxnet in python, it shows:

(root) C:\Users\74713\Documents>python
Python 3.6.2 |Anaconda, Inc.| (default, Sep 19 2017, 08:03:39) [MSC v.1900 64 bit (AMD64)] on win32
Type “help”, “copyright”, “credits” or “license” for more information.

import mxnet
Traceback (most recent call last):
File “”, line 1, in
File “C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\mxnet_init_.py”, line 25, in
from . import engine
File “C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\mxnet\engine.py”, line 23, in
from .base import _LIB, check_call
File “C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\mxnet\base.py”, line 113, in
_LIB = _load_lib()
File “C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\site-packages\mxnet\base.py”, line 105, in load_lib
lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL)
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Anaconda3_64\lib\ctypes_init
.py", line 348, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] 找不到指定的模块。

import mxnet_cu90
Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘mxnet_cu90’

how can I solve this?


#2

The pip package description says that it supports linux platform only: https://pypi.python.org/pypi/mxnet-cu90/1.2.0b20180224 . Please take a look at MXNet windows documentation: https://mxnet.incubator.apache.org/get_started/windows_setup.html


#3
  1. Follow steps mentioned at the link - https://mxnet.incubator.apache.org/install/index.html

  2. Then install CUDA 90 toolkit from following location
    https://developer.nvidia.com/cuda-90-download-archive?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exenetwork

  3. Import MxNet and verify