apache / mxnet

Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more
https://mxnet.apache.org
Apache License 2.0
20.77k stars 6.8k forks source link

can't install mxnet package #19716

Closed izzitrin9 closed 3 years ago

izzitrin9 commented 3 years ago

Description

trying to install mxnet on Windows 10 using pip install mxnet==1.7.0.post1 , keep getting error message

Error Message

ERROR: Command errored out with exit status 1: command: 'C:\Users\zhang\miniconda\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\zhang\AppData\Local\Temp\pip-install-gbe7d_2e\numpy\setup.py'"'"'; file='"'"'C:\Users\zhang\AppData\Local\Temp\pip-install-gbe7d_2e\numpy\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\zhang\AppData\Local\Temp\pip-wheel-v5qdsit8' cwd: C:\Users\zhang\AppData\Local\Temp\pip-install-gbe7d_2e\numpy\ Complete output (264 lines): Running from numpy source directory. C:\Users\zhang\AppData\Local\Temp\pip-install-gbe7d_2e\numpy\numpy\distutils\misc_util.py:476: SyntaxWarning: "is" with a literal. Did you mean "=="? return is_string(s) and ('*' in s or '?' is s) blas_opt_info: blas_mkl_info: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries mkl_rt not found in ['C:\Users\zhang\miniconda\lib', 'C:\', 'C:\Users\zhang\miniconda\libs'] NOT AVAILABLE

blis_info: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler libraries blis not found in ['C:\Users\zhang\miniconda\lib', 'C:\', 'C:\Users\zhang\miniconda\libs']

github-actions[bot] commented 3 years ago

Welcome to Apache MXNet (incubating)! We are on a mission to democratize AI, and we are glad that you are contributing to it by opening this issue. Please make sure to include all the relevant context, and one of the @apache/mxnet-committers will be here shortly. If you are interested in contributing to our project, let us know! Also, be sure to check out our guide on contributing to MXNet and our development guides wiki.

dai-ichiro commented 3 years ago

You need C compiler. For example, install Visual Studio 2019 community, and then install mxnet.