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
When I tried to create the conda env inside the flingbot Docker instance, I got this error:
Running setup.py install for openexr: started Running setup.py install for openexr: finished with status 'error' Pip subprocess error: ERROR: Command errored out with exit status 1: command: /root/miniconda3/envs/flingbot/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zlilc69r/openexr_9a1d5c6112364fe5bb20b4c95e63c15e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zlilc69r/openexr_9a1d5c6112364fe5bb20b4c95e63c15e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-aizbv_dq cwd: /tmp/pip-install-zlilc69r/openexr_9a1d5c6112364fe5bb20b4c95e63c15e/ Complete output (16 lines): running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-3.6 copying Imath.py -> build/lib.linux-x86_64-3.6 running build_ext building 'OpenEXR' extension creating build/temp.linux-x86_64-3.6 gcc -pthread -B /root/miniconda3/envs/flingbot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/root/miniconda3/envs/flingbot/include/python3.6m -c OpenEXR.cpp -o build/temp.linux-x86_64-3.6/OpenEXR.o -g -DVERSION="1.3.2" cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ OpenEXR.cpp:36:10: fatal error: ImathBox.h: No such file or directory #include <ImathBox.h> ^~~~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for openexr ERROR: Command errored out with exit status 1: command: /root/miniconda3/envs/flingbot/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zlilc69r/openexr_9a1d5c6112364fe5bb20b4c95e63c15e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zlilc69r/openexr_9a1d5c6112364fe5bb20b4c95e63c15e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-a91hs22t/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda3/envs/flingbot/include/python3.6m/openexr cwd: /tmp/pip-install-zlilc69r/openexr_9a1d5c6112364fe5bb20b4c95e63c15e/ Complete output (16 lines): running install running build running build_py creating build creating build/lib.linux-x86_64-3.6 copying Imath.py -> build/lib.linux-x86_64-3.6 running build_ext building 'OpenEXR' extension creating build/temp.linux-x86_64-3.6 gcc -pthread -B /root/miniconda3/envs/flingbot/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/OpenEXR -I/usr/local/include/OpenEXR -I/opt/local/include/OpenEXR -I/root/miniconda3/envs/flingbot/include/python3.6m -c OpenEXR.cpp -o build/temp.linux-x86_64-3.6/OpenEXR.o -g -DVERSION="1.3.2" cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ OpenEXR.cpp:36:10: fatal error: ImathBox.h: No such file or directory #include <ImathBox.h> ^~~~~~~~~~~~ compilation terminated. error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command errored out with exit status 1: /root/miniconda3/envs/flingbot/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-zlilc69r/openexr_9a1d5c6112364fe5bb20b4c95e63c15e/setup.py'"'"'; __file__='"'"'/tmp/pip-install-zlilc69r/openexr_9a1d5c6112364fe5bb20b4c95e63c15e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-a91hs22t/install-record.txt --single-version-externally-managed --compile --install-headers /root/miniconda3/envs/flingbot/include/python3.6m/openexr Check the logs for full command output. failed CondaEnvException: Pip failed
Installing the "libopenexr-dev" package inside the Docker instance as suggested here, and then creating the conda environment fixes this issue.
The text was updated successfully, but these errors were encountered:
I solved this by running conda install -c conda-forge openexr-python
conda install -c conda-forge openexr-python
Sorry, something went wrong.
Hello, have you completed training on this code?
No branches or pull requests
When I tried to create the conda env inside the flingbot Docker instance, I got this error:
Installing the "libopenexr-dev" package inside the Docker instance as suggested here, and then creating the conda environment fixes this issue.
The text was updated successfully, but these errors were encountered: