You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2019/06/04 11:12:45 UTC

[GitHub] [incubator-mxnet] QueensGambit opened a new issue #15146: Installation problem on Windows 7

QueensGambit opened a new issue #15146: Installation problem on Windows 7
URL: https://github.com/apache/incubator-mxnet/issues/15146
 
 
   ## Description
   One Windows 7 user had who tried to install our crazyhouse chess engine CrazyAra-0.4.0 run into trouble when installing MXNET via 
   ```
   pip install mxnet-mkl==1.4.1
   ```
   * https://github.com/QueensGambit/CrazyAra/wiki/Installation-Guide
   * https://github.com/QueensGambit/CrazyAra/releases
   
   
   ## Environment info (Required)
   
   I don't have his output of diagnose.py, but he's using and Intel Quad i5 CPU with python 3.6.
   
   
   ## Error Message:
   
   This is the error when loading MXNET in the python shell:
   ```
   $ python
   >> from mxnet import nd
   ```
   ```
   C:\Users\UserName\AppData\Local\Programs\Python\Python36\lib\site-packages\mxnet\ndarray\ndarray.py line136 in new_alloc_handle c.types.cint (ctx.device-typeid) Attribue Error: int object has no attribute device-typeid
   ```
   
   ## What have you tried to solve it?
   ```
   pip uninstall mxnet-mkl
   pip install mxnet==1.4.1
   ```
   ```
   C:\Users\username>pip install mxnet==1.4.1
   Requirement already satisfied: mxnet==1.4.1 in c:\users\username\appdata\local\progra
   ms\python\python36\lib\site-packages (1.4.1)
   Requirement already satisfied: requests<2.19.0,>=2.18.4 in c:\users\username\appdata\
   local\programs\python\python36\lib\site-packages (from mxnet==1.4.1) (2.18.4)
   Requirement already satisfied: graphviz<0.9.0,>=0.8.1 in c:\users\username\appdata\lo
   cal\programs\python\python36\lib\site-packages (from mxnet==1.4.1) (0.8.4)
   Requirement already satisfied: numpy<1.17.0,>=1.8.2 in c:\users\username\appdata\loca
   l\programs\python\python36\lib\site-packages (from mxnet==1.4.1) (1.16.4)
   Requirement already satisfied: certifi>=2017.4.17 in c:\users\username\appdata\local\
   programs\python\python36\lib\site-packages (from requests<2.19.0,>=2.18.4->mxnet
   ==1.4.1) (2019.3.9)
   Requirement already satisfied: idna<2.7,>=2.5 in c:\users\username\appdata\local\prog
   rams\python\python36\lib\site-packages (from requests<2.19.0,>=2.18.4->mxnet==1.
   4.1) (2.6)
   Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\users\username\appdata\loc
   al\programs\python\python36\lib\site-packages (from requests<2.19.0,>=2.18.4->mx
   net==1.4.1) (3.0.4)
   Requirement already satisfied: urllib3<1.23,>=1.21.1 in c:\users\username\appdata\loc
   al\programs\python\python36\lib\site-packages (from requests<2.19.0,>=2.18.4->mx
   net==1.4.1) (1.22)
   ```
   Now, he gets:
   ```
   ModuleNotFoundError - no module named mxnet - NameError name nd is not defined
   ```
   Although MXNET is installed according to pip.
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services