Yu-Group / iterative-Random-Forest

Python implementation of iterative-random-forests
Other
59 stars 19 forks source link

Installation failed #12

Open Anjuprabha123 opened 3 years ago

Anjuprabha123 commented 3 years ago

hi, i followed the steps for installing but it failed with the following error ERROR: Command errored out with exit status 1: command: 'C:\Users\USER1\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\USER1\Documents\GitHub\iterative-Random-Forest\setup.py'"'"'; file='"'"'C:\Users\USER1\Documents\GitHub\iterative-Random-Forest\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps cwd: C:\Users\USER1\Documents\GitHub\iterative-Random-Forest\ Complete output (49 lines): Appending irf.tree configuration to irf Ignoring attempt to set 'name' (from 'irf' to 'irf.tree') Appending irf.ensemble configuration to irf Ignoring attempt to set 'name' (from 'irf' to 'irf.ensemble') Appending irf.tests configuration to irf Ignoring attempt to set 'name' (from 'irf' to 'irf.tests') Appending irf configuration to Ignoring attempt to set 'name' (from '' to 'irf') running develop running build_scripts running egg_info running build_src build_src building extension "irf.tree._tree" sources building extension "irf.tree._splitter" sources building extension "irf.tree._criterion" sources building extension "irf.tree._utils" sources build_src: building npy-pkg config files writing irf.egg-info\PKG-INFO writing dependency_links to irf.egg-info\dependency_links.txt writing requirements to irf.egg-info\requires.txt writing top-level names to irf.egg-info\top_level.txt reading manifest file 'irf.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '.rst' warning: no files found matching '' under directory 'doc' warning: no files found matching '' under directory 'examples' warning: no files found matching '.c' under directory 'sklearn' warning: no files found matching '.h' under directory 'sklearn' warning: no files found matching '.pyx' under directory 'sklearn' warning: no files found matching '.pxd' under directory 'sklearn' warning: no files found matching '.pxi' under directory 'sklearn' warning: no files found matching '.csv' under directory 'sklearn\datasets' warning: no files found matching '.csv.gz' under directory 'sklearn\datasets' warning: no files found matching '.rst' under directory 'sklearn\datasets' warning: no files found matching '.jpg' under directory 'sklearn\datasets' warning: no files found matching '*.txt' under directory 'sklearn\datasets' warning: no files found matching 'AUTHORS.rst' warning: no files found matching 'README.rst' writing manifest file 'irf.egg-info\SOURCES.txt' running build_ext No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils customize MSVCCompiler customize MSVCCompiler using build_ext building 'irf.tree._tree' extension compiling C sources Warning: Assuming default configuration (irf\ensemble/{setup_ensemble,setup}.py was not found) Warning: Assuming default configuration (irf\tests/{setup_tests,setup}.py was not found) error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/

ERROR: Command errored out with exit status 1: 'C:\Users\USER1\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\USER1\Documents\GitHub\iterative-Random-Forest\setup.py'"'"'; file='"'"'C:\Users\USER1\Documents\GitHub\iterative-Random-Forest\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output.

nmpn commented 3 years ago

Having the same problem. Have yours resolved?

sherff100 commented 2 years ago

Have yours resolved? I have the same problem!