Open parthpatadiya opened 3 years ago
ERROR: Command errored out with exit status 1: 'C:\Users\Microsoft\anaconda3\envs\smpl\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\setup.py'"'"'; file='"'"'C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\MICROS~1\AppData\Local\Temp\pip-record-k_v2ywh2\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Microsoft\anaconda3\envs\smpl\Include\opendr' Check the logs for full command output.
Have you found solution?
pip install opendr Collecting opendr Using cached opendr-0.78.tar.gz (581 kB) Collecting Cython Downloading Cython-0.29.21-cp37-cp37m-win_amd64.whl (1.6 MB) |████████████████████████████████| 1.6 MB 2.2 MB/s Requirement already satisfied: chumpy>=0.58 in c:\users\microsoft\anaconda3\envs\smpl\lib\site-packages (from opendr) (0.70) Collecting matplotlib Downloading matplotlib-3.3.3-cp37-cp37m-win_amd64.whl (8.5 MB) |████████████████████████████████| 8.5 MB 2.2 MB/s Requirement already satisfied: scipy>=0.13.0 in c:\users\microsoft\anaconda3\envs\smpl\lib\site-packages (from chumpy>=0.58->opendr) (1.5.4) Requirement already satisfied: six>=1.11.0 in c:\users\microsoft\anaconda3\envs\smpl\lib\site-packages (from chumpy>=0.58->opendr) (1.15.0) Collecting kiwisolver>=1.0.1 Downloading kiwisolver-1.3.1-cp37-cp37m-win_amd64.whl (51 kB) |████████████████████████████████| 51 kB 45 kB/s Requirement already satisfied: numpy>=1.15 in c:\users\microsoft\anaconda3\envs\smpl\lib\site-packages (from matplotlib->opendr) (1.19.2) Collecting cycler>=0.10 Using cached cycler-0.10.0-py2.py3-none-any.whl (6.5 kB) Collecting python-dateutil>=2.1 Downloading python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) |████████████████████████████████| 227 kB 3.3 MB/s Collecting pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) |████████████████████████████████| 67 kB 2.8 MB/s Collecting pillow>=6.2.0 Downloading Pillow-8.0.1-cp37-cp37m-win_amd64.whl (2.1 MB) |████████████████████████████████| 2.1 MB 6.4 MB/s Building wheels for collected packages: opendr Building wheel for opendr (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Microsoft\anaconda3\envs\smpl\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\setup.py'"'"'; file='"'"'C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\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\MICROS~1\AppData\Local\Temp\pip-wheel-ikfwfhnn' cwd: C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\ Complete output (55 lines): running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.7 creating build\lib.win-amd64-3.7\opendr copying opendr\camera.py -> build\lib.win-amd64-3.7\opendr copying opendr\common.py -> build\lib.win-amd64-3.7\opendr copying opendr\cvwrap.py -> build\lib.win-amd64-3.7\opendr copying opendr\dummy.py -> build\lib.win-amd64-3.7\opendr copying opendr\everything.py -> build\lib.win-amd64-3.7\opendr copying opendr\filters.py -> build\lib.win-amd64-3.7\opendr copying opendr\geometry.py -> build\lib.win-amd64-3.7\opendr copying opendr\lighting.py -> build\lib.win-amd64-3.7\opendr copying opendr\occlusion_test.py -> build\lib.win-amd64-3.7\opendr copying opendr\renderer.py -> build\lib.win-amd64-3.7\opendr copying opendr\serialization.py -> build\lib.win-amd64-3.7\opendr copying opendr\simple.py -> build\lib.win-amd64-3.7\opendr copying opendr\slider_demo.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_camera.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_depth_renderer.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_geometry.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_renderer.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_sh.py -> build\lib.win-amd64-3.7\opendr copying opendr\topology.py -> build\lib.win-amd64-3.7\opendr copying opendr\utils.py -> build\lib.win-amd64-3.7\opendr copying opendr\util_tests.py -> build\lib.win-amd64-3.7\opendr copying opendr\version.py -> build\lib.win-amd64-3.7\opendr copying opendr__init.py -> build\lib.win-amd64-3.7\opendr creating build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts\autogen.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts\draw_triangle_shaders_2_1.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts\draw_triangle_shaders_3_2.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts\fix_warnings.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts_constants.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts__init.py -> build\lib.win-amd64-3.7\opendr\contexts creating build\lib.win-amd64-3.7\opendr\test_dr copying opendr\test_dr\init__.py -> build\lib.win-amd64-3.7\opendr\test_dr running build_ext building 'opendr.contexts.ctx_mesa' extension creating build\temp.win-amd64-3.7 creating build\temp.win-amd64-3.7\Release creating build\temp.win-amd64-3.7\Release\opendr creating build\temp.win-amd64-3.7\Release\opendr\contexts C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DOSMESA__=1 -I. -IC:\Users\Microsoft\anaconda3\envs\smpl\lib\site-packages\numpy\core\include -Iopendr/contexts/OSMesa/include -IC:\Users\Microsoft\anaconda3\envs\smpl\include -IC:\Users\Microsoft\anaconda3\envs\smpl\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcopendr/contexts/ctx_mesa.c /Fobuild\temp.win-amd64-3.7\Release\opendr/contexts/ctx_mesa.obj -lstdc++ cl : Command line warning D9002 : ignoring unknown option '-lstdc++' ctx_mesa.c C:\Users\Microsoft\anaconda3\envs\smpl\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION opendr/contexts/ctx_mesa.c(6887): warning C4244: 'function': conversion from 'npy_intp' to 'GLint', possible loss of data opendr/contexts/ctx_mesa.c(26245): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data opendr/contexts/ctx_mesa.c(26251): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:opendr/contexts/OSMesa/lib /LIBPATH:C:\Users\Microsoft\anaconda3\envs\smpl\libs /LIBPATH:C:\Users\Microsoft\anaconda3\envs\smpl\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" OSMesa.lib GL.lib GLU.lib /EXPORT:PyInit_ctx_mesa build\temp.win-amd64-3.7\Release\opendr/contexts/ctx_mesa.obj /OUT:build\lib.win-amd64-3.7\opendr\contexts\ctx_mesa.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\opendr/contexts\ctx_mesa.cp37-win_amd64.lib -lstdc++ LINK : warning LNK4044: unrecognized option '/lstdc++'; ignored LINK : fatal error LNK1181: cannot open input file 'OSMesa.lib' error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\link.exe' failed with exit status 1181
ERROR: Failed building wheel for opendr Running setup.py clean for opendr Failed to build opendr Installing collected packages: Cython, kiwisolver, cycler, python-dateutil, pyparsing, pillow, matplotlib, opendr Running setup.py install for opendr ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Microsoft\anaconda3\envs\smpl\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\setup.py'"'"'; file='"'"'C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\MICROS~1\AppData\Local\Temp\pip-record-k_v2ywh2\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Microsoft\anaconda3\envs\smpl\Include\opendr' cwd: C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\ Complete output (57 lines): Compiling opendr/contexts/ctx_mesa.pyx because it depends on C:\Users\Microsoft\anaconda3\envs\smpl\lib\site-packages\Cython\Includes\libc\string.pxd. [1/1] Cythonizing opendr/contexts/ctx_mesa.pyx C:\Users\Microsoft\anaconda3\envs\smpl\lib\site-packages\Cython\Compiler\Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\opendr\contexts\ctx_mesa.pyx tree = Parsing.p_module(s, pxd, full_module_name) running install running build running build_py creating build creating build\lib.win-amd64-3.7 creating build\lib.win-amd64-3.7\opendr copying opendr\camera.py -> build\lib.win-amd64-3.7\opendr copying opendr\common.py -> build\lib.win-amd64-3.7\opendr copying opendr\cvwrap.py -> build\lib.win-amd64-3.7\opendr copying opendr\dummy.py -> build\lib.win-amd64-3.7\opendr copying opendr\everything.py -> build\lib.win-amd64-3.7\opendr copying opendr\filters.py -> build\lib.win-amd64-3.7\opendr copying opendr\geometry.py -> build\lib.win-amd64-3.7\opendr copying opendr\lighting.py -> build\lib.win-amd64-3.7\opendr copying opendr\occlusion_test.py -> build\lib.win-amd64-3.7\opendr copying opendr\renderer.py -> build\lib.win-amd64-3.7\opendr copying opendr\serialization.py -> build\lib.win-amd64-3.7\opendr copying opendr\simple.py -> build\lib.win-amd64-3.7\opendr copying opendr\slider_demo.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_camera.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_depth_renderer.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_geometry.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_renderer.py -> build\lib.win-amd64-3.7\opendr copying opendr\test_sh.py -> build\lib.win-amd64-3.7\opendr copying opendr\topology.py -> build\lib.win-amd64-3.7\opendr copying opendr\utils.py -> build\lib.win-amd64-3.7\opendr copying opendr\util_tests.py -> build\lib.win-amd64-3.7\opendr copying opendr\version.py -> build\lib.win-amd64-3.7\opendr copying opendr__init.py -> build\lib.win-amd64-3.7\opendr creating build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts\autogen.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts\draw_triangle_shaders_2_1.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts\draw_triangle_shaders_3_2.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts\fix_warnings.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts_constants.py -> build\lib.win-amd64-3.7\opendr\contexts copying opendr\contexts__init.py -> build\lib.win-amd64-3.7\opendr\contexts creating build\lib.win-amd64-3.7\opendr\test_dr copying opendr\test_dr\init__.py -> build\lib.win-amd64-3.7\opendr\test_dr running build_ext building 'opendr.contexts.ctx_mesa' extension creating build\temp.win-amd64-3.7 creating build\temp.win-amd64-3.7\Release creating build\temp.win-amd64-3.7\Release\opendr creating build\temp.win-amd64-3.7\Release\opendr\contexts C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DOSMESA__=1 -Iopendr/contexts -I. -IC:\Users\Microsoft\anaconda3\envs\smpl\lib\site-packages\numpy\core\include -Iopendr/contexts/OSMesa/include -IC:\Users\Microsoft\anaconda3\envs\smpl\include -IC:\Users\Microsoft\anaconda3\envs\smpl\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /Tcopendr/contexts/ctx_mesa.c /Fobuild\temp.win-amd64-3.7\Release\opendr/contexts/ctx_mesa.obj -lstdc++ cl : Command line warning D9002 : ignoring unknown option '-lstdc++' ctx_mesa.c C:\Users\Microsoft\anaconda3\envs\smpl\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION opendr/contexts/ctx_mesa.c(7070): warning C4244: 'function': conversion from 'npy_intp' to 'GLint', possible loss of data C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:opendr/contexts/OSMesa/lib /LIBPATH:C:\Users\Microsoft\anaconda3\envs\smpl\libs /LIBPATH:C:\Users\Microsoft\anaconda3\envs\smpl\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\ATLMFC\lib\x64" "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" OSMesa.lib GL.lib GLU.lib /EXPORT:PyInit_ctx_mesa build\temp.win-amd64-3.7\Release\opendr/contexts/ctx_mesa.obj /OUT:build\lib.win-amd64-3.7\opendr\contexts\ctx_mesa.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\opendr/contexts\ctx_mesa.cp37-win_amd64.lib -lstdc++ LINK : warning LNK4044: unrecognized option '/lstdc++'; ignored LINK : fatal error LNK1181: cannot open input file 'OSMesa.lib' error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\link.exe' failed with exit status 1181
ERROR: Command errored out with exit status 1: 'C:\Users\Microsoft\anaconda3\envs\smpl\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\setup.py'"'"'; file='"'"'C:\Users\MICROS~1\AppData\Local\Temp\pip-install-f_tuhisg\opendr\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\MICROS~1\AppData\Local\Temp\pip-record-k_v2ywh2\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\Microsoft\anaconda3\envs\smpl\Include\opendr' Check the logs for full command output.