Open Sarouch opened 2 years ago
It looks like an issue Virtual Studio version, which version are you using?
It looks like an issue Virtual Studio version, which version are you using?
@MNMaqsood I have VS 2019 version
Are you using anaconda
enviroment for this project? If so can you deactivate that and install it in vanilla virtual enviroment?
Also remember to install numpy
and cython
before installing asone
per our instruction.
Are you using
anaconda
enviroment for this project? If so can you deactivate that and install it in vanilla virtual enviroment? Also remember to installnumpy
andcython
before installingasone
per our instruction.
@MNMaqsood I have already tried without conda, I think the problem happens while installing " pip install -e git+https://github.com/samson-wang/cython_bbox.git#egg=cython-bbox" I have this error:
(.env)` PS C:\Users\Documents\Turbuelnce_IA\AS-One> pip install -e git+https://github.com/samson-wang/cython_bbox.git#egg=cython-bbox
ERROR: Command errored out with exit status 1: 'C:\Users\anaconda3\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\\Documents\Turbuelnce_IA\AS-One\src\cython-bbox\setup.py'"'"'; file='"'"'C:\Users\\Turbuelnce_IA\AS-One\src\cython-bbox\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.``
This issue is related to cython-bbox
installation and not to asone
library. You can see this issue in cython-bbox
repo.
Hello, Thank you for this amazing work! I have some installation issues, I have this error while installing asone, or even doing it separately (for example here for pip install lap)
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for lap Running setup.py clean for lap Failed to build lap Installing collected packages: lap Running setup.py install for lap ... error error: subprocess-exited-with-error
× Running setup.py install for lap did not run successfully. │ exit code: 1 ╰─> [107 lines of output] Partial import of lap during the build process. Generating cython files running install C:\Users\anaconda3\envs\py38_GPU_pyqt\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running config_cc INFO: unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc INFO: unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src INFO: build_src INFO: building extension "lap._lapjv" sources INFO: building data_files sources INFO: build_src: building npy-pkg config files running build_py creating build creating build\lib.win-amd64-cpython-38 creating build\lib.win-amd64-cpython-38\lap copying lap\lapmod.py -> build\lib.win-amd64-cpython-38\lap copying lap__init.py -> build\lib.win-amd64-cpython-38\lap running build_ext INFO: No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils INFO: customize MSVCCompiler INFO: customize MSVCCompiler using build_ext INFO: CCompilerOpt.cc_test_flags[1029] : testing flags (/O2) creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users\chouchen2-admin creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users\chouchen2-admin\anaconda3 creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users\chouchen2-admin\anaconda3\envs creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users\chouchen2-admin\anaconda3\envs\py38_GPU_pyqt creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users\chouchen2-admin\anaconda3\envs\py38_GPU_pyqt\Lib creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users\chouchen2-admin\anaconda3\envs\py38_GPU_pyqt\Lib\site-packages creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users\chouchen2-admin\anaconda3\envs\py38_GPU_pyqt\Lib\site-packages\numpy creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users\chouchen2-admin\anaconda3\envs\py38_GPU_pyqt\Lib\site-packages\numpy\distutils creating C:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\User\anaconda3\envs\py38_GPU_pyqt\Lib\site-packages\numpy\distutils\checks INFO: CCompilerOpt.cc_test_flags[1029] : testing flags (/WX) WARN: CCompilerOpt.init[1175] : feature 'AVX512_KNL' is disabled, MSVC compiler doesn't support it WARN: CCompilerOpt.init__[1175] : feature 'AVX512_KNM' is disabled, MSVC compiler doesn't support it INFO: CCompilerOpt.init[1717] : check requested baseline INFO: CCompilerOpt.feature_test[1482] : testing feature 'SSE' with flags () WARN: CCompilerOpt.dist_test[598] : CCompilerOpt._dist_test_spawn[732] : Command (C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\anaconda3\envs\py38_GPU_pyqt\include -IC:\Users\chouchen2-admin\anaconda3\envs\py38_GPU_pyqt\Include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include -IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include /TcC:\Users\chouchen2-admin\anaconda3\envs\py38_GPU_pyqt\Lib\site-packages\numpy\distutils\checks\cpu_sse.c /FoC:\Users\CHOUCH~1\AppData\Local\Temp\tmphagtbu1r\Users\anaconda3\envs\py38_GPU_pyqt\Lib\site-packages\numpy\distutils\checks\cpu_sse.obj /WX) failed with exit status 2 output
So, could you tell me if it is related to the Virtual Studio version? Thanks