We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to install opendr as a requirement for ZhengZerong/DeepHuman and get this error:
ZhengZerong/DeepHuman
$ venv/bin/python -m pip install -r requirements.txt ERROR: Command errored out with exit status 1: command: /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qq_lrcqv/opendr/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qq_lrcqv/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 /tmp/pip-wheel-ua65t3rl cwd: /tmp/pip-install-qq_lrcqv/opendr/ Complete output (68 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/opendr copying opendr/test_geometry.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/camera.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/cvwrap.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/geometry.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/slider_demo.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/occlusion_test.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/filters.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/common.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/version.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/test_renderer.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/everything.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/simple.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/lighting.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/utils.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/util_tests.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/test_depth_renderer.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/serialization.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/__init__.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/test_camera.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/renderer.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/test_sh.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/dummy.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/topology.py -> build/lib.linux-x86_64-3.8/opendr creating build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/draw_triangle_shaders_3_2.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/fix_warnings.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/autogen.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/_constants.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/__init__.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/draw_triangle_shaders_2_1.py -> build/lib.linux-x86_64-3.8/opendr/contexts creating build/lib.linux-x86_64-3.8/opendr/test_dr copying opendr/test_dr/__init__.py -> build/lib.linux-x86_64-3.8/opendr/test_dr running build_ext building 'opendr.contexts.ctx_mesa' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/opendr creating build/temp.linux-x86_64-3.8/opendr/contexts x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D__OSMESA__=1 -Iopendr/contexts -I. -I/home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include -Iopendr/contexts/OSMesa/include -I/home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/include -I/usr/include/python3.8 -c opendr/contexts/ctx_mesa.c -o build/temp.linux-x86_64-3.8/opendr/contexts/ctx_mesa.o -lstdc++ In file included from /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832, from /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4, from opendr/contexts/ctx_mesa.c:657: /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ opendr/contexts/ctx_mesa.c: In function ‘__pyx_pf_6opendr_8contexts_8ctx_mesa_13OsContextBase_150ShaderSource’: opendr/contexts/ctx_mesa.c:13169:50: warning: passing argument 3 of ‘glShaderSource’ from incompatible pointer type [-Wincompatible-pointer-types] 13169 | glShaderSource(__pyx_v_shader, __pyx_v_count, (&__pyx_v_s), (&__pyx_v_len)); | ~^~~~~~~~~~~ | | | char ** In file included from opendr/contexts/OSMesa/include/GL/gl.h:2085, from opendr/contexts/gl_includes.h:10, from opendr/contexts/ctx_mesa.c:659: opendr/contexts/OSMesa/include/GL/glext.h:5794:82: note: expected ‘const GLchar **’ {aka ‘const char **’} but argument is of type ‘char **’ 5794 | GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); | ~~~~~~~~~~~~~~~^~~~~~ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/opendr/contexts/ctx_mesa.o -Lopendr/contexts/OSMesa/lib -lOSMesa -lGL -lGLU -o build/lib.linux-x86_64-3.8/opendr/contexts/ctx_mesa.cpython-38-x86_64-linux-gnu.so -lstdc++ /usr/bin/ld: cannot find -lOSMesa /usr/bin/ld: cannot find -lGLU collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for opendr Running setup.py clean for opendr Failed to build opendr Installing collected packages: opendr, PyWavelets, decorator, networkx, imageio, tifffile, scikit-image, opencv-python, astunparse, termcolor, absl-py, google-pasta, protobuf, markdown, cachetools, pyasn1, pyasn1-modules, rsa, google-auth, certifi, chardet, idna, urllib3, requests, oauthlib, requests-oauthlib, google-auth-oauthlib, tensorboard-plugin-wit, werkzeug, grpcio, tensorboard, tensorflow-estimator, wrapt, h5py, opt-einsum, keras-preprocessing, gast, tensorflow Running setup.py install for opendr ... error ERROR: Command errored out with exit status 1: command: /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qq_lrcqv/opendr/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qq_lrcqv/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 /tmp/pip-record-0e9ez2_r/install-record.txt --single-version-externally-managed --compile --install-headers /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/include/site/python3.8/opendr cwd: /tmp/pip-install-qq_lrcqv/opendr/ Complete output (68 lines): running install running build running build_py creating build creating build/lib.linux-x86_64-3.8 creating build/lib.linux-x86_64-3.8/opendr copying opendr/test_geometry.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/camera.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/cvwrap.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/geometry.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/slider_demo.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/occlusion_test.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/filters.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/common.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/version.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/test_renderer.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/everything.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/simple.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/lighting.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/utils.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/util_tests.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/test_depth_renderer.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/serialization.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/__init__.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/test_camera.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/renderer.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/test_sh.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/dummy.py -> build/lib.linux-x86_64-3.8/opendr copying opendr/topology.py -> build/lib.linux-x86_64-3.8/opendr creating build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/draw_triangle_shaders_3_2.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/fix_warnings.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/autogen.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/_constants.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/__init__.py -> build/lib.linux-x86_64-3.8/opendr/contexts copying opendr/contexts/draw_triangle_shaders_2_1.py -> build/lib.linux-x86_64-3.8/opendr/contexts creating build/lib.linux-x86_64-3.8/opendr/test_dr copying opendr/test_dr/__init__.py -> build/lib.linux-x86_64-3.8/opendr/test_dr running build_ext building 'opendr.contexts.ctx_mesa' extension creating build/temp.linux-x86_64-3.8 creating build/temp.linux-x86_64-3.8/opendr creating build/temp.linux-x86_64-3.8/opendr/contexts x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -D__OSMESA__=1 -Iopendr/contexts -I. -I/home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include -Iopendr/contexts/OSMesa/include -I/home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/include -I/usr/include/python3.8 -c opendr/contexts/ctx_mesa.c -o build/temp.linux-x86_64-3.8/opendr/contexts/ctx_mesa.o -lstdc++ In file included from /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarraytypes.h:1832, from /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include/numpy/arrayobject.h:4, from opendr/contexts/ctx_mesa.c:657: /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/lib/python3.8/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ opendr/contexts/ctx_mesa.c: In function ‘__pyx_pf_6opendr_8contexts_8ctx_mesa_13OsContextBase_150ShaderSource’: opendr/contexts/ctx_mesa.c:13169:50: warning: passing argument 3 of ‘glShaderSource’ from incompatible pointer type [-Wincompatible-pointer-types] 13169 | glShaderSource(__pyx_v_shader, __pyx_v_count, (&__pyx_v_s), (&__pyx_v_len)); | ~^~~~~~~~~~~ | | | char ** In file included from opendr/contexts/OSMesa/include/GL/gl.h:2085, from opendr/contexts/gl_includes.h:10, from opendr/contexts/ctx_mesa.c:659: opendr/contexts/OSMesa/include/GL/glext.h:5794:82: note: expected ‘const GLchar **’ {aka ‘const char **’} but argument is of type ‘char **’ 5794 | GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* *string, const GLint *length); | ~~~~~~~~~~~~~~~^~~~~~ x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/opendr/contexts/ctx_mesa.o -Lopendr/contexts/OSMesa/lib -lOSMesa -lGL -lGLU -o build/lib.linux-x86_64-3.8/opendr/contexts/ctx_mesa.cpython-38-x86_64-linux-gnu.so -lstdc++ /usr/bin/ld: cannot find -lOSMesa /usr/bin/ld: cannot find -lGLU collect2: error: ld returned 1 exit status error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-qq_lrcqv/opendr/setup.py'"'"'; __file__='"'"'/tmp/pip-install-qq_lrcqv/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 /tmp/pip-record-0e9ez2_r/install-record.txt --single-version-externally-managed --compile --install-headers /home/bengt/Downloads/Projekte/github.com/ZhengZerong/DeepHuman/venv/include/site/python3.8/opendr Check the logs for full command output.
The text was updated successfully, but these errors were encountered:
I also had same error, but installing openGL solved problem $ apt-get install freeglut3-dev
Sorry, something went wrong.
No branches or pull requests
I am trying to install opendr as a requirement for
ZhengZerong/DeepHuman
and get this error:The text was updated successfully, but these errors were encountered: