alinagithub opened a new issue #17887: Import mxnet for mxnet-cu92 fails URL: https://github.com/apache/incubator-mxnet/issues/17887 ## Description CUDA 92 installed, and mxnet-cu92 using pip, however import mxnet fails In installing mxnet or mxnet-mkl, import works. I am using Python 3.8 ### Error Message Python 3.8.2 (tags/v3.8.2:7b3ab59, Feb 25 2020, 23:03:10) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import mxnet Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\.env38\lib\site-packages\mxnet\__init__.py", line 24, in <module> from .context import Context, current_context, cpu, gpu, cpu_pinned File "C:\.env38\lib\site-packages\mxnet\context.py", line 24, in <module> from .base import classproperty, with_metaclass, _MXClassPropertyMetaClass File "C:\.env38\lib\site-packages\mxnet\base.py", line 213, in <module> _LIB = _load_lib() File "C:\.env38\lib\site-packages\mxnet\base.py", line 204, in _load_lib lib = ctypes.CDLL(lib_path[0], ctypes.RTLD_LOCAL) File "C:\Users\arnau\AppData\Local\Programs\Python\Python38\lib\ctypes\__init__.py", line 373, in __init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'C:\.env38\lib\site-packages\mxnet\libmxnet.dll' (or one of its dependencies). Try using the full path with constructor syntax. ## To Reproduce 1. Windows 10. 2. Installed Python 3.8 3. Installed mkl 2020 4. Installed Cuda92 nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2018 NVIDIA Corporation Built on Tue_Jun_12_23:08:12_Central_Daylight_Time_2018 Cuda compilation tools, release 9.2, V9.2.148 5. Installed mxnet: pip install mxnet-cu92 ## What have you tried to solve it? 1. Other combinations: CUDA 101 with mxnet-cu101, CUDA 92 with mxnet-cu92mkl... 2. Explicit PATH to the CUDA /bin directory ## Environment ----------Python Info---------- Version : 3.8.2 Compiler : MSC v.1916 64 bit (AMD64) Build : ('tags/v3.8.2:7b3ab59', 'Feb 25 2020 23:03:10') Arch : ('64bit', 'WindowsPE') ------------Pip Info----------- Version : 20.0.2 Directory : C:\.env38\lib\site-packages\pip ----------MXNet Info----------- Hashtag not found. Not installed from pre-built package. ----------System Info---------- Platform : Windows-10-10.0.18362-SP0 system : Windows node : MSI release : 10 version : 10.0.18362 ----------Hardware Info---------- machine : AMD64 processor : Intel64 Family 6 Model 158 Stepping 10, GenuineIntel Name Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz ----------Network Test---------- Setting timeout: 10 Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0230 sec, LOAD: 0.7210 sec. Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0000 sec, LOAD: 0.5110 sec. Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.0602 sec, LOAD: 0.4753 sec. Timing for D2L: http://d2l.ai, DNS: 0.0200 sec, LOAD: 0.1508 sec. Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0229 sec, LOAD: 0.2308 sec. Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0668 sec, LOAD: 0.4193 sec. Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0212 sec, LOAD: 0.4935 sec. Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0192 sec, LOAD: 0.1854 sec. Thanks a lot for you help.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
