PyOpenGL-accelerate install issue
See original GitHub issueI am trying to do pip install -e .[full] and get the following error. Have no idea how to resolve it. Any idea how I can solve this?
` Stored in directory: /Users/hmishfaq/Library/Caches/pip/wheels/9f/18/84/8f69f8b08169c7bae2dde6bd7daf0c19fca8c8e500ee620a28 Building wheel for PyOpenGL-accelerate (setup.py) β¦ error ERROR: Command errored out with exit status 1: command: /Users/hmishfaq/miniconda3/envs/rlberry/bin/python -u -c βimport sys, setuptools, tokenize; sys.argv[0] = β"β"β/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/setup.pyββ'ββ; file=ββ'ββ/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/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 /private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-wheel-s6cu0h__ cwd: /private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/ Complete output (14 lines): running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 creating build/lib.macosx-10.9-x86_64-3.7/OpenGL_accelerate copying OpenGL_accelerate/init.py -> build/lib.macosx-10.9-x86_64-3.7/OpenGL_accelerate running build_ext building βOpenGL_accelerate.wrapperβ extension creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/src gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/hmishfaq/miniconda3/envs/rlberry/include -arch x86_64 -I/Users/hmishfaq/miniconda3/envs/rlberry/include -arch x86_64 -I/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/β¦ -I/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/src -I/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15 -I/Users/hmishfaq/miniconda3/envs/rlberry/include/python3.7m -c src/wrapper.c -o build/temp.macosx-10.9-x86_64-3.7/src/wrapper.o xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: command βgccβ failed with exit status 1
ERROR: Failed building wheel for PyOpenGL-accelerate Running setup.py clean for PyOpenGL-accelerate Successfully built pyperclip Failed to build PyOpenGL-accelerate Installing collected packages: zipp, urllib3, typing-extensions, pyasn1, idna, chardet, wcwidth, rsa, requests, pyperclip, pyasn1-modules, pbr, oauthlib, numpy, MarkupSafe, importlib-metadata, greenlet, colorama, cachetools, attrs, stevedore, sqlalchemy, requests-oauthlib, PyYAML, python-editor, PrettyTable, Mako, google-auth, cmd2, werkzeug, tqdm, tensorboard-plugin-wit, protobuf, packaging, markdown, llvmlite, grpcio, google-auth-oauthlib, EasyProcess, colorlog, cmaes, cliff, alembic, absl-py, torch, tensorboard, rlberry, pyvirtualdisplay, PyOpenGL-accelerate, PyOpenGL, optuna, numba, ffmpeg-python Attempting uninstall: numpy Found existing installation: numpy 1.20.1 Uninstalling numpy-1.20.1: Successfully uninstalled numpy-1.20.1 Attempting uninstall: rlberry Found existing installation: rlberry 0.1 Uninstalling rlberry-0.1: Successfully uninstalled rlberry-0.1 Running setup.py develop for rlberry Running setup.py install for PyOpenGL-accelerate β¦ error ERROR: Command errored out with exit status 1: command: /Users/hmishfaq/miniconda3/envs/rlberry/bin/python -u -c βimport sys, setuptools, tokenize; sys.argv[0] = β"β"β/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/setup.pyββ'ββ; file=ββ'ββ/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/setup.pyββ'ββ;f=getattr(tokenize, β"βββopenβββββ, open)(file);code=f.read().replace(βββ"β\r\nββ'ββ, β"β"β\nββ'ββ);f.close();exec(compile(code, file, β"βββexecβββββ))β install --record /private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-record-6eze1xi4/install-record.txt --single-version-externally-managed --compile --install-headers /Users/hmishfaq/miniconda3/envs/rlberry/include/python3.7m/PyOpenGL-accelerate cwd: /private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/ Complete output (14 lines): running install running build running build_py creating build creating build/lib.macosx-10.9-x86_64-3.7 creating build/lib.macosx-10.9-x86_64-3.7/OpenGL_accelerate copying OpenGL_accelerate/init.py -> build/lib.macosx-10.9-x86_64-3.7/OpenGL_accelerate running build_ext building βOpenGL_accelerate.wrapperβ extension creating build/temp.macosx-10.9-x86_64-3.7 creating build/temp.macosx-10.9-x86_64-3.7/src gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/hmishfaq/miniconda3/envs/rlberry/include -arch x86_64 -I/Users/hmishfaq/miniconda3/envs/rlberry/include -arch x86_64 -I/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/β¦ -I/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/src -I/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15 -I/Users/hmishfaq/miniconda3/envs/rlberry/include/python3.7m -c src/wrapper.c -o build/temp.macosx-10.9-x86_64-3.7/src/wrapper.o xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun error: command βgccβ failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /Users/hmishfaq/miniconda3/envs/rlberry/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = 'ββ"β/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/setup.pyββ'ββ; file=ββ'ββ/private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-install-c4eb4muq/pyopengl-accelerate_e9ab1b03c35f4124afb92343fb341d15/setup.pyββ'ββ;f=getattr(tokenize, β"βββopenβββββ, open)(file);code=f.read().replace(βββ"β\r\nββ'ββ, β"β"β\nββ'ββ);f.close();exec(compile(code, file, β"βββexecβββ"β))β install --record /private/var/folders/hx/pgz_r8ps30n36q4qds34t0340000gn/T/pip-record-6eze1xi4/install-record.txt --single-version-externally-managed --compile --install-headers /Users/hmishfaq/miniconda3/envs/rlberry/include/python3.7m/PyOpenGL-accelerate Check the logs for full command output.`
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top GitHub Comments
It worked after reinstalling gcc. Thanks!
By the way, the rendering of the environments using
PyOpenGL
also seem to work withoutPyOpenGL-accelerate
!