pmh47 / dirt

DIRT: a fast differentiable renderer for TensorFlow
MIT License
313 stars 63 forks source link

Error while doing pip install . #23

Open ankursikarwar opened 5 years ago

ankursikarwar commented 5 years ago

Processing /home/ankur/ankur/project/dirt Requirement already satisfied: tensorflow-gpu>=1.4 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from dirt==0.2.0) (1.13.1) Requirement already satisfied: numpy in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from dirt==0.2.0) (1.16.3) Requirement already satisfied: keras-preprocessing>=1.0.5 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.0.9) Requirement already satisfied: enum34>=1.1.6 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.1.6) Requirement already satisfied: astor>=0.6.0 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (0.7.1) Requirement already satisfied: backports.weakref>=1.0rc1 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.0.post1) Requirement already satisfied: wheel in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (0.33.4) Requirement already satisfied: mock>=2.0.0 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (2.0.0) Requirement already satisfied: tensorflow-estimator<1.14.0rc0,>=1.13.0 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.13.0) Requirement already satisfied: gast>=0.2.0 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (0.2.2) Requirement already satisfied: termcolor>=1.1.0 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.1.0) Requirement already satisfied: protobuf>=3.6.1 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (3.7.1) Requirement already satisfied: absl-py>=0.1.6 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (0.7.1) Requirement already satisfied: tensorboard<1.14.0,>=1.13.0 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.13.1) Requirement already satisfied: six>=1.10.0 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.12.0) Requirement already satisfied: keras-applications>=1.0.6 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.0.7) Requirement already satisfied: grpcio>=1.8.6 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.16.1) Requirement already satisfied: funcsigs>=1 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from mock>=2.0.0->tensorflow-gpu>=1.4->dirt==0.2.0) (1.0.2) Requirement already satisfied: pbr>=0.11 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from mock>=2.0.0->tensorflow-gpu>=1.4->dirt==0.2.0) (5.1.3) Requirement already satisfied: setuptools in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from protobuf>=3.6.1->tensorflow-gpu>=1.4->dirt==0.2.0) (41.0.1) Requirement already satisfied: futures>=3.1.1; python_version < "3" in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorboard<1.14.0,>=1.13.0->tensorflow-gpu>=1.4->dirt==0.2.0) (3.2.0) Requirement already satisfied: werkzeug>=0.11.15 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorboard<1.14.0,>=1.13.0->tensorflow-gpu>=1.4->dirt==0.2.0) (0.15.2) Requirement already satisfied: markdown>=2.6.8 in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from tensorboard<1.14.0,>=1.13.0->tensorflow-gpu>=1.4->dirt==0.2.0) (3.1) Requirement already satisfied: h5py in /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages (from keras-applications>=1.0.6->tensorflow-gpu>=1.4->dirt==0.2.0) (2.9.0) Building wheels for collected packages: dirt Building wheel for dirt (setup.py) ... error ERROR: Complete output from command /home/ankur/.conda/envs/octopus/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-req-build-HwzLYf/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-k8nsjz --python-tag cp27: ERROR: running bdist_wheel running build -- The CXX compiler identification is GNU 7.4.0 -- The CUDA compiler identification is NVIDIA 9.1.85 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working CUDA compiler: /usr/bin/nvcc -- Check for working CUDA compiler: /usr/bin/nvcc -- works -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-req-build-HwzLYf/build Scanning dependencies of target rasterise [ 14%] Building CXX object CMakeFiles/rasterise.dir/rasterise_egl.cpp.o [ 28%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_egl.cu.o [ 42%] Building CXX object CMakeFiles/rasterise.dir/rasterise_grad_egl.cpp.o [ 57%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o In file included from /usr/include/crt/math_functions.h:8835:0, from /usr/include/crt/common_functions.h:271, from /usr/include/common_functions.h:50, from /usr/include/cuda_runtime.h:115, from :0: /usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory

include_next

                     ^

compilation terminated. In file included from /usr/include/crt/math_functions.h:8835:0, from /usr/include/crt/common_functions.h:271, from /usr/include/common_functions.h:50, from /usr/include/cuda_runtime.h:115, from :0: /usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory

include_next

                     ^

compilation terminated. CMakeFiles/rasterise.dir/build.make:86: recipe for target 'CMakeFiles/rasterise.dir/rasterise_egl.cu.o' failed make[2]: [CMakeFiles/rasterise.dir/rasterise_egl.cu.o] Error 1 make[2]: Waiting for unfinished jobs.... CMakeFiles/rasterise.dir/build.make:134: recipe for target 'CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o' failed make[2]: *** [CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o] Error 1 In file included from /tmp/pip-req-build-HwzLYf/csrc/rasterise_egl.cpp:24:0: /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h:3:2: warning: #warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file" [-Wcpp]

warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file"

^~~~~~~

In file included from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h:16:0, from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h:6, from /tmp/pip-req-build-HwzLYf/csrc/rasterise_egl.cpp:24: /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h:85:0: warning: "gpu_assert" redefined

define gpu_assert(COND) assert(COND)

In file included from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1:0, from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/numeric_types.h:20, from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/allocator.h:23, from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op_kernel.h:23, from /tmp/pip-req-build-HwzLYf/csrc/rasterise_egl.cpp:14: /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/Tensor:106:0: note: this is the location of the previous definition

define gpu_assert(x)

In file included from /tmp/pip-req-build-HwzLYf/csrc/rasterise_grad_egl.cpp:22:0: /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h:3:2: warning: #warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file" [-Wcpp]

warning "Deprecated header file, please either include the main Eigen/CXX11/Tensor header or the respective TensorDeviceGpu.h file"

^~~~~~~

In file included from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceGpu.h:16:0, from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorDeviceCuda.h:6, from /tmp/pip-req-build-HwzLYf/csrc/rasterise_grad_egl.cpp:22: /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/src/Tensor/TensorGpuHipCudaDefines.h:85:0: warning: "gpu_assert" redefined

define gpu_assert(COND) assert(COND)

In file included from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/third_party/eigen3/unsupported/Eigen/CXX11/Tensor:1:0, from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/numeric_types.h:20, from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/allocator.h:23, from /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/op_kernel.h:23, from /tmp/pip-req-build-HwzLYf/csrc/rasterise_grad_egl.cpp:12: /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/Tensor:106:0: note: this is the location of the previous definition

define gpu_assert(x)

/tmp/pip-req-build-HwzLYf/csrc/rasterise_grad_egl.cpp: In lambda function: /tmp/pip-req-build-HwzLYf/csrc/rasterise_grad_egl.cpp:49:90: warning: ignoring return value of ‘tensorflow::Status tensorflow::shape_inference::InferenceContext::ReplaceDim(tensorflow::shape_inference::ShapeHandle, tensorflow::int64, tensorflow::shape_inference::DimensionHandle, tensorflow::shape_inference::ShapeHandle*)’, declared with attribute warn_unused_result [-Wunused-result] c->ReplaceDim(c->input(0), 2, c->Dim(c->input(2), 3), &grad_vertex_colours_shape); // i.e. vertex-colors has same shape as vertices, but with final dimension replaced by channel count ^ In file included from /tmp/pip-req-build-HwzLYf/csrc/rasterise_grad_egl.cpp:13:0: /home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:453:10: note: declared here Status ReplaceDim(ShapeHandle s, int64 dim_index, DimensionHandle new_dim, ^~~~~~ CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rasterise.dir/all' failed make[1]: [CMakeFiles/rasterise.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: [all] Error 2 Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-HwzLYf/setup.py", line 46, in 'Programming Language :: Python :: 2.7', File "/home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/setuptools/init.py", line 145, in setup return distutils.core.setup(**attrs) File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 192, in run self.run_command('build') File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/tmp/pip-req-build-HwzLYf/setup.py", line 24, in run build_csrc() File "/tmp/pip-req-build-HwzLYf/setup.py", line 20, in build_csrc subprocess.check_call(['make', '-j{}'.format(build_cpus)], cwd=build_path) File "/home/ankur/.conda/envs/octopus/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2

ERROR: Failed building wheel for dirt Running setup.py clean for dirt Failed to build dirt Installing collected packages: dirt Running setup.py install for dirt ... error ERROR: Complete output from command /home/ankur/.conda/envs/octopus/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-req-build-HwzLYf/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-SNJ0Xz/install-record.txt --single-version-externally-managed --compile: ERROR: running install running build -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-req-build-HwzLYf/build [ 14%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_egl.cu.o [ 28%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o [ 42%] Building CXX object CMakeFiles/rasterise.dir/shaders.cpp.o In file included from /usr/include/crt/math_functions.h:8835:0, from /usr/include/crt/common_functions.h:271, from /usr/include/common_functions.h:50, from /usr/include/cuda_runtime.h:115, from :0: /usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory

include_next

                       ^
compilation terminated.
CMakeFiles/rasterise.dir/build.make:86: recipe for target 'CMakeFiles/rasterise.dir/rasterise_egl.cu.o' failed
make[2]: *** [CMakeFiles/rasterise.dir/rasterise_egl.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/crt/math_functions.h:8835:0,
                 from /usr/include/crt/common_functions.h:271,
                 from /usr/include/common_functions.h:50,
                 from /usr/include/cuda_runtime.h:115,
                 from <command-line>:0:
/usr/include/c++/6/cmath:45:23: fatal error: math.h: No such file or directory
 #include_next <math.h>
                       ^
compilation terminated.
CMakeFiles/rasterise.dir/build.make:134: recipe for target 'CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o' failed
make[2]: *** [CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rasterise.dir/all' failed
make[1]: *** [CMakeFiles/rasterise.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-HwzLYf/setup.py", line 46, in <module>
    'Programming Language :: Python :: 2.7',
  File "/home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/ankur/.conda/envs/octopus/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/command/install.py", line 563, in run
    self.run_command('build')
  File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/home/ankur/.conda/envs/octopus/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/tmp/pip-req-build-HwzLYf/setup.py", line 24, in run
    build_csrc()
  File "/tmp/pip-req-build-HwzLYf/setup.py", line 20, in build_csrc
    subprocess.check_call(['make', '-j{}'.format(build_cpus)], cwd=build_path)
  File "/home/ankur/.conda/envs/octopus/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2
----------------------------------------

ERROR: Command "/home/ankur/.conda/envs/octopus/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-req-build-HwzLYf/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-SNJ0Xz/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-req-build-HwzLYf/

pmh47 commented 5 years ago

I think this is not specific to DIRT, but a problem with your cuda compiler -- it looks like your version of nvcc is not compatible with your version of gcc. What versions are you using? Try upgrading / downgrading the cuda toolkit.

MISSXUAN0 commented 5 years ago

@ankursikarwar I have encountered the same problem as you. Is your problem solved?

pmh47 commented 5 years ago

@MISSXUAN0 What versions of gcc, nvcc, and cmake are you using? I cannot reproduce this. See https://github.com/highfidelity/hifi/issues/8047 and https://github.com/mapillary/inplace_abn/issues/106 for a couple of possible causes & fixes.

MISSXUAN0 commented 5 years ago

Requirement already satisfied: tensorflow-gpu>=1.4 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from dirt==0.2.0) (1.11.0) Requirement already satisfied: numpy in /home/test/.local/lib/python2.7/site-packages (from dirt==0.2.0) (1.15.4) Requirement already satisfied: enum34>=1.1.6 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.1.6) Requirement already satisfied: astor>=0.6.0 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (0.8.0) Requirement already satisfied: backports.weakref>=1.0rc1 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.0.post1) Requirement already satisfied: setuptools<=39.1.0 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (39.1.0) Requirement already satisfied: wheel in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (0.33.4) Requirement already satisfied: protobuf>=3.6.0 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (3.8.0) Requirement already satisfied: termcolor>=1.1.0 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.1.0) Requirement already satisfied: gast>=0.2.0 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (0.2.2) Requirement already satisfied: tensorboard<1.12.0,>=1.11.0 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.11.0) Requirement already satisfied: absl-py>=0.1.6 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (0.7.1) Requirement already satisfied: mock>=2.0.0 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (3.0.5) Requirement already satisfied: keras-applications>=1.0.5 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.0.7) Requirement already satisfied: keras-preprocessing>=1.0.3 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.0.9) Requirement already satisfied: grpcio>=1.8.6 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.21.1) Requirement already satisfied: six>=1.10.0 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorflow-gpu>=1.4->dirt==0.2.0) (1.12.0) Requirement already satisfied: futures>=3.1.1; python_version < "3" in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorboard<1.12.0,>=1.11.0->tensorflow-gpu>=1.4->dirt==0.2.0) (3.2.0) Requirement already satisfied: markdown>=2.6.8 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorboard<1.12.0,>=1.11.0->tensorflow-gpu>=1.4->dirt==0.2.0) (3.1.1) Requirement already satisfied: werkzeug>=0.11.10 in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from tensorboard<1.12.0,>=1.11.0->tensorflow-gpu>=1.4->dirt==0.2.0) (0.15.4) Requirement already satisfied: funcsigs>=1; python_version < "3.3" in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from mock>=2.0.0->tensorflow-gpu>=1.4->dirt==0.2.0) (1.0.2) Requirement already satisfied: h5py in /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages (from keras-applications>=1.0.5->tensorflow-gpu>=1.4->dirt==0.2.0) (2.9.0) Building wheels for collected packages: dirt Building wheel for dirt (setup.py) ... error ERROR: Complete output from command /home/test/anaconda3/envs/octopus/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-req-build-Y8z52G/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-scV41Y --python-tag cp27: ERROR: running bdist_wheel running build -- The CXX compiler identification is GNU 5.4.0 -- The CUDA compiler identification is NVIDIA 9.0.176 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working CUDA compiler: /usr/local/cuda-9.0/bin/nvcc -- Check for working CUDA compiler: /usr/local/cuda-9.0/bin/nvcc -- works -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-req-build-Y8z52G/build Scanning dependencies of target rasterise [ 14%] Building CXX object CMakeFiles/rasterise.dir/rasterise_egl.cpp.o [ 28%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_egl.cu.o [ 42%] Building CXX object CMakeFiles/rasterise.dir/rasterise_grad_egl.cpp.o [ 57%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o /tmp/pip-req-build-Y8z52G/csrc/rasterise_egl.cu:9:0: warning: "CUDA_AXIS_KERNEL_LOOP" redefined

define CUDA_AXIS_KERNEL_LOOP(i, n, axis) \

^ In file included from /tmp/pip-req-build-Y8z52G/csrc/rasterise_egl.cu:6:0: /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h:30:0: note: this is the location of the previous definition

define CUDA_AXIS_KERNEL_LOOP(i, n, axis) \

^ /tmp/pip-req-build-Y8z52G/csrc/rasterise_grad_egl.cu:11:0: warning: "CUDA_AXIS_KERNEL_LOOP" redefined

define CUDA_AXIS_KERNEL_LOOP(i, n, axis) \

^ In file included from /tmp/pip-req-build-Y8z52G/csrc/rasterise_grad_egl.cu:6:0: /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h:30:0: note: this is the location of the previous definition

define CUDA_AXIS_KERNEL_LOOP(i, n, axis) \

^ /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/absl/strings/string_view.h(501): error: constexpr function return is non-constant

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(55): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(309): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(310): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/absl/strings/string_view.h(501): error: constexpr function return is non-constant

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(55): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(309): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(310): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]" (2096): here instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]" (2096): here instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" (2102): here instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" (2102): here instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (2108): here instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (2108): here instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]" (2096): here instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]" (2096): here instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" (2102): here instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" (2102): here instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (2108): here instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]" (2096): here instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (2108): here instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]" (2096): here instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" (2102): here instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]" (2102): here instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (2108): here instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (2108): here instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]" (2096): here instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]" (2096): here instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" (2102): here instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]" (2102): here instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (855): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (2108): here instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" detected during: instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (863): here instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]" (2108): here instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]" /home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

1 error detected in the compilation of "/tmp/tmpxft_000050af_00000000-6_rasterise_egl.cpp1.ii". CMakeFiles/rasterise.dir/build.make:86: recipe for target 'CMakeFiles/rasterise.dir/rasterise_egl.cu.o' failed make[2]: [CMakeFiles/rasterise.dir/rasterise_egl.cu.o] Error 1 make[2]: Waiting for unfinished jobs.... 1 error detected in the compilation of "/tmp/tmpxft_000050b2_00000000-6_rasterise_grad_egl.cpp1.ii". CMakeFiles/rasterise.dir/build.make:134: recipe for target 'CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o' failed make[2]: [CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o] Error 1 CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rasterise.dir/all' failed make[1]: [CMakeFiles/rasterise.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: * [all] Error 2 Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-Y8z52G/setup.py", line 46, in 'Programming Language :: Python :: 2.7', File "/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/setuptools/init.py", line 129, in setup return distutils.core.setup(attrs) File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 192, in run self.run_command('build') File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/tmp/pip-req-build-Y8z52G/setup.py", line 24, in run build_csrc() File "/tmp/pip-req-build-Y8z52G/setup.py", line 20, in build_csrc subprocess.check_call(['make', '-j{}'.format(build_cpus)], cwd=build_path) File "/home/test/anaconda3/envs/octopus/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2

ERROR: Failed building wheel for dirt Running setup.py clean for dirt Failed to build dirt Installing collected packages: dirt Running setup.py install for dirt ... error ERROR: Complete output from command /home/test/anaconda3/envs/octopus/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-req-build-Y8z52G/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-VPiLQy/install-record.txt --single-version-externally-managed --compile: ERROR: running install running build -- Configuring done -- Generating done -- Build files have been written to: /tmp/pip-req-build-Y8z52G/build [ 28%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o [ 28%] Building CUDA object CMakeFiles/rasterise.dir/rasterise_egl.cu.o [ 42%] Building CXX object CMakeFiles/rasterise.dir/shaders.cpp.o /tmp/pip-req-build-Y8z52G/csrc/rasterise_egl.cu:9:0: warning: "CUDA_AXIS_KERNEL_LOOP" redefined

define CUDA_AXIS_KERNEL_LOOP(i, n, axis) \

 ^
In file included from /tmp/pip-req-build-Y8z52G/csrc/rasterise_egl.cu:6:0:
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h:30:0: note: this is the location of the previous definition
 #define CUDA_AXIS_KERNEL_LOOP(i, n, axis) \
 ^
/tmp/pip-req-build-Y8z52G/csrc/rasterise_grad_egl.cu:11:0: warning: "CUDA_AXIS_KERNEL_LOOP" redefined
 #define CUDA_AXIS_KERNEL_LOOP(i, n, axis)                                  \
 ^
In file included from /tmp/pip-req-build-Y8z52G/csrc/rasterise_grad_egl.cu:6:0:
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/tensorflow/core/util/cuda_kernel_helper.h:30:0: note: this is the location of the previous definition
 #define CUDA_AXIS_KERNEL_LOOP(i, n, axis) \
 ^
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/absl/strings/string_view.h(501): error: constexpr function return is non-constant

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/absl/strings/string_view.h(501): error: constexpr function return is non-constant

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(55): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(309): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(310): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(55): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(309): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/google/protobuf/arena_impl.h(310): warning: integer conversion resulted in a change of sign

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(2096): here
            instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(2096): here
            instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(2102): here
            instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(2102): here
            instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(2096): here
            instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
            instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
            instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::VALUE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::VALUE]"
(2096): here
            instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(34): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(2102): here
            instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(2096): here
            instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(2096): here
            instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::DERIVATIVE]"
(2102): here
            instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(38): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(2102): here
            instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
            instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(2102): here
            instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=float, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
            instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=float]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsHalf.h(42): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
            instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(2096): here
            instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
            instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::VALUE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::VALUE]"
(2096): here
            instantiation of "Eigen::internal::igamma_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(120): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(2102): here
            instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::DERIVATIVE]"
(2102): here
            instantiation of "Eigen::internal::igamma_der_a_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::igamma_der_a(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(135): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(651): warning: missing return statement at end of non-void function "Eigen::internal::igammac_cf_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igammac_cf_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(855): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
            instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/SpecialFunctionsImpl.h(712): warning: missing return statement at end of non-void function "Eigen::internal::igamma_series_impl<Scalar, mode>::run [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
          detected during:
            instantiation of "Scalar Eigen::internal::igamma_series_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(863): here
            instantiation of "Scalar Eigen::internal::igamma_generic_impl<Scalar, mode>::run(Scalar, Scalar) [with Scalar=double, mode=Eigen::internal::SAMPLE_DERIVATIVE]"
(2108): here
            instantiation of "Eigen::internal::gamma_sample_der_alpha_retval<Eigen::internal::global_math_functions_filtering_base<Scalar, void>::type>::type Eigen::numext::gamma_sample_der_alpha(const Scalar &, const Scalar &) [with Scalar=double]"
/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/include/unsupported/Eigen/CXX11/../src/SpecialFunctions/arch/CUDA/CudaSpecialFunctions.h(154): here

1 error detected in the compilation of "/tmp/tmpxft_0000510c_00000000-6_rasterise_egl.cpp1.ii".
CMakeFiles/rasterise.dir/build.make:86: recipe for target 'CMakeFiles/rasterise.dir/rasterise_egl.cu.o' failed
make[2]: *** [CMakeFiles/rasterise.dir/rasterise_egl.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 error detected in the compilation of "/tmp/tmpxft_0000510d_00000000-6_rasterise_grad_egl.cpp1.ii".
CMakeFiles/rasterise.dir/build.make:134: recipe for target 'CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o' failed
make[2]: *** [CMakeFiles/rasterise.dir/rasterise_grad_egl.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/rasterise.dir/all' failed
make[1]: *** [CMakeFiles/rasterise.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-Y8z52G/setup.py", line 46, in <module>
    'Programming Language :: Python :: 2.7',
  File "/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/setuptools/__init__.py", line 129, in setup
    return distutils.core.setup(**attrs)
  File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/command/install.py", line 563, in run
    self.run_command('build')
  File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/home/test/anaconda3/envs/octopus/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/tmp/pip-req-build-Y8z52G/setup.py", line 24, in run
    build_csrc()
  File "/tmp/pip-req-build-Y8z52G/setup.py", line 20, in build_csrc
    subprocess.check_call(['make', '-j{}'.format(build_cpus)], cwd=build_path)
  File "/home/test/anaconda3/envs/octopus/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2
----------------------------------------

ERROR: Command "/home/test/anaconda3/envs/octopus/bin/python -u -c 'import setuptools, tokenize;file='"'"'/tmp/pip-req-build-Y8z52G/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-VPiLQy/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-req-build-Y8z52G/

pmh47 commented 5 years ago

@MISSXUAN0 The output shows your problem is with tensorflow's string_view.h, not the same as the problem with math.h in this thread. See https://github.com/pmh47/dirt/issues/6, and https://github.com/tensorflow/tensorflow/issues/22766 for workarounds.

MISSXUAN0 commented 5 years ago

@pmh47 Thank you for your reply.I have solved this problem by your reply.It can be installed successfully. But when run python tests/square_test.py a new problem occur. Traceback (most recent call last): File "tests/square_test.py", line 4, in import dirt File "/home/test/wangxuan/dirt/dirt/init.py", line 2, in from rasterise_ops import rasterise, rasterise_batch File "/home/test/wangxuan/dirt/dirt/rasterise_ops.py", line 7, in _rasterise_module = tf.load_op_library(_lib_path + '/librasterise.so') File "/home/test/anaconda3/envs/octopus/lib/python2.7/site-packages/tensorflow/python/framework/load_library.py", line 56, in load_op_library lib_handle = py_tf.TF_LoadLibrary(library_filename) tensorflow.python.framework.errors_impl.NotFoundError: /home/test/wangxuan/dirt/dirt/librasterise.so: undefined symbol: _ZN10tensorflow7strings8internal9CatPiecesB5cxx11ESt16initializer_listIN4absl11string_viewEE

pmh47 commented 5 years ago

@MISSXUAN0 See https://github.com/pmh47/dirt/issues/10, the last two comments there give the cause and fix for that problem

MISSXUAN0 commented 5 years ago

I have tried this method. cmake -D _GLIBCXX_USE_CXX11_ABI=0 ../csrc But the same problem still exits.I don't know if there is a problem with my solution? Thank you very much!

pmh47 commented 5 years ago

That should have worked, assuming you installed in development mode afterwards (i.e. pip install -e .). Try deleting the build folder, making sure DIRT has been fully uninstalled from your conda environment, then try the build & install again. You could also try exporting _GLIBCXX_USE_CXX11_ABI=0 as an environment variable.

yyvettey commented 5 years ago

same here, cmake -D _GLIBCXX_USE_CXX11_ABI=0 ../csrc did not solve the problem

pmh47 commented 5 years ago

@yyvettey Add -D_GLIBCXX_USE_CXX11_ABI=0 to CMAKE_CXX_FLAGS in build/CMakeCache.txt -- it's a flag to g++, not to cmake. Alternatively, export CXXFLAGS='-D_GLIBCXX_USE_CXX11_ABI=0' before running cmake for the first time.

QHan1st commented 5 years ago

I think this is not specific to DIRT, but a problem with your cuda compiler -- it looks like your version of nvcc is not compatible with your version of gcc. What versions are you using? Try upgrading / downgrading the cuda toolkit.

When I install dirt,I meet the same problem as yous.How did you resolve this question? please.

wkailiu commented 5 years ago

Requirement already satisfied: certifi>=2017.4.17 in /home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages (from requests>=2.0.0->requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.1.0,>=2.0.0->tensorflow-gpu>=1.6->dirt==0.3.0) (2019.9.11) Building wheels for collected packages: dirt Building wheel for dirt (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/lwk/anaconda3/envs/py27/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-XULIZO/setup.py'"'"'; file='"'"'/tmp/pip-req-build-XULIZO/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-YQn8y2 --python-tag cp27 cwd: /tmp/pip-req-build-XULIZO/ Complete output (47 lines): running bdist_wheel running build -- The CXX compiler identification is GNU 5.4.0 -- The CUDA compiler identification is NVIDIA 7.5.17 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working CUDA compiler: /usr/bin/nvcc -- Check for working CUDA compiler: /usr/bin/nvcc -- works -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: EGL_LIBRARIES linked by target "rasterise" in directory /tmp/pip-req-build-XULIZO/csrc

-- Configuring incomplete, errors occurred! See also "/tmp/pip-req-build-XULIZO/build/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-XULIZO/setup.py", line 50, in 'Programming Language :: Python :: 3.7', File "/home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages/setuptools/init.py", line 145, in setup return distutils.core.setup(**attrs) File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 192, in run self.run_command('build') File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/tmp/pip-req-build-XULIZO/setup.py", line 24, in run build_csrc() File "/tmp/pip-req-build-XULIZO/setup.py", line 18, in build_csrc subprocess.check_call(['cmake', os.path.join(base_path, 'csrc')], cwd=build_path) File "/home/lwk/anaconda3/envs/py27/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-XULIZO/csrc']' returned non-zero exit status 1

ERROR: Failed building wheel for dirt Running setup.py clean for dirt Failed to build dirt Installing collected packages: dirt Running setup.py install for dirt ... error ERROR: Command errored out with exit status 1: command: /home/lwk/anaconda3/envs/py27/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-XULIZO/setup.py'"'"'; file='"'"'/tmp/pip-req-build-XULIZO/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-4xtGbd/install-record.txt --single-version-externally-managed --compile cwd: /tmp/pip-req-build-XULIZO/ Complete output (36 lines): running install running build CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: EGL_LIBRARIES linked by target "rasterise" in directory /tmp/pip-req-build-XULIZO/csrc

-- Configuring incomplete, errors occurred!
See also "/tmp/pip-req-build-XULIZO/build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-XULIZO/setup.py", line 50, in <module>
    'Programming Language :: Python :: 3.7',
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/command/install.py", line 563, in run
    self.run_command('build')
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/tmp/pip-req-build-XULIZO/setup.py", line 24, in run
    build_csrc()
  File "/tmp/pip-req-build-XULIZO/setup.py", line 18, in build_csrc
    subprocess.check_call(['cmake', os.path.join(base_path, 'csrc')], cwd=build_path)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-XULIZO/csrc']' returned non-zero exit status 1
----------------------------------------

ERROR: Command errored out with exit status 1: /home/lwk/anaconda3/envs/py27/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-XULIZO/setup.py'"'"'; file='"'"'/tmp/pip-req-build-XULIZO/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-4xtGbd/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

pmh47 commented 5 years ago

@wkailiu For EGL libraries not found, see #17

haohao-hu commented 5 years ago

I met the following error when trying installing on Windows 10, Python3.6, tensorflow 1.14 in conda environment: `(tensorflow_dlib_face_recognitio) D:\git_projects\dirt>pip install . Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Processing d:\git_projects\dirt Requirement already satisfied: tensorflow-gpu>=1.6 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from dirt==0.3.0) (1.14.0) Requirement already satisfied: numpy in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from dirt==0.3.0) (1.16.5) Requirement already satisfied: tensorboard<1.15.0,>=1.14.0 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (1.14.0) Requirement already satisfied: six>=1.10.0 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (1.12.0) Requirement already satisfied: keras-preprocessing>=1.0.5 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (1.1.0) Requirement already satisfied: tensorflow-estimator<1.15.0rc0,>=1.14.0rc0 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (1.14.0) Requirement already satisfied: gast>=0.2.0 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (0.3.2) Requirement already satisfied: protobuf>=3.6.1 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (3.9.2) Requirement already satisfied: termcolor>=1.1.0 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (1.1.0) Requirement already satisfied: grpcio>=1.8.6 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (1.16.1) Requirement already satisfied: absl-py>=0.7.0 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (0.8.0) Requirement already satisfied: astor>=0.6.0 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (0.8.0) Requirement already satisfied: wheel>=0.26 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (0.33.6) Requirement already satisfied: wrapt>=1.11.1 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (1.11.2) Requirement already satisfied: keras-applications>=1.0.6 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (1.0.8) Requirement already satisfied: google-pasta>=0.1.6 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorflow-gpu>=1.6->dirt==0.3.0) (0.1.7) Requirement already satisfied: werkzeug>=0.11.15 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow-gpu>=1.6->dirt==0.3.0) (0.16.0) Requirement already satisfied: setuptools>=41.0.0 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow-gpu>=1.6->dirt==0.3.0) (41.4.0) Requirement already satisfied: markdown>=2.6.8 in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow-gpu>=1.6->dirt==0.3.0) (3.1.1) Requirement already satisfied: h5py in c:\users\admin\anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages (from keras-applications>=1.0.6->tensorflow-gpu>=1.6->dirt==0.3.0) (2.9.0) Building wheels for collected packages: dirt Building wheel for dirt (setup.py) ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\setup.py'"'"'; file='"'"'C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\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\Admin\AppData\Local\Temp\pip-wheel-41ggi5kb' --python-tag cp36 cwd: C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\ Complete output (47 lines): running bdist_wheel running build -- Building for: Visual Studio 16 2019 -- The CXX compiler identification is MSVC 19.23.28106.4 -- The CUDA compiler identification is NVIDIA 10.1.243 -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.23.28105/bin/Hostx64/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/bin/nvcc.exe -- Check for working CUDA compiler: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v10.1/bin/nvcc.exe -- works -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Found OpenGL: opengl32 -- Configuring done -- Generating done -- Build files have been written to: C:/Users/Admin/AppData/Local/Temp/pip-req-build-ac6t4ils/build make: * No targets specified and no makefile found. Stop. Traceback (most recent call last): File "", line 1, in File "C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\setup.py", line 54, in 'Programming Language :: Python :: 3.7', File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages\setuptools__init__.py", line 145, in setup return distutils.core.setup(attrs) File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages\wheel\bdist_wheel.py", line 192, in run self.run_command('build') File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\setup.py", line 28, in run build_csrc() File "C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\setup.py", line 22, in build_csrc subprocess.check_output(['make', '-j{}'.format(build_cpus)], cwd=build_path) File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\subprocess.py", line 356, in check_output **kwargs).stdout File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2.

ERROR: Failed building wheel for dirt Running setup.py clean for dirt Failed to build dirt Installing collected packages: dirt Running setup.py install for dirt ... error ERROR: Command errored out with exit status 1: command: 'C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\setup.py'"'"'; file='"'"'C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\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\Admin\AppData\Local\Temp\pip-record-9mmvnu33\install-record.txt' --single-version-externally-managed --compile cwd: C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\ Complete output (35 lines): running install running build -- Configuring done -- Generating done -- Build files have been written to: C:/Users/Admin/AppData/Local/Temp/pip-req-build-ac6t4ils/build make: * No targets specified and no makefile found. Stop. Traceback (most recent call last): File "", line 1, in File "C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\setup.py", line 54, in 'Programming Language :: Python :: 3.7', File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages\setuptools__init__.py", line 145, in setup return distutils.core.setup(attrs) File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\core.py", line 148, in setup dist.run_commands() File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\dist.py", line 955, in run_commands self.run_command(cmd) File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\site-packages\setuptools\command\install.py", line 61, in run return orig.install.run(self) File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\command\install.py", line 545, in run self.run_command('build') File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\cmd.py", line 313, in run_command self.distribution.run_command(command) File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\distutils\dist.py", line 974, in run_command cmd_obj.run() File "C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\setup.py", line 28, in run build_csrc() File "C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\setup.py", line 22, in build_csrc subprocess.check_output(['make', '-j{}'.format(build_cpus)], cwd=build_path) File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\subprocess.py", line 356, in check_output **kwargs).stdout File "C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\lib\subprocess.py", line 438, in run output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['make', '-j4']' returned non-zero exit status 2.

ERROR: Command errored out with exit status 1: 'C:\Users\Admin\Anaconda3\envs\tensorflow_dlib_face_recognitio\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\setup.py'"'"'; file='"'"'C:\Users\Admin\AppData\Local\Temp\pip-req-build-ac6t4ils\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\Admin\AppData\Local\Temp\pip-record-9mmvnu33\install-record.txt' --single-version-externally-managed --compile Check the logs for full command output.`

Also, when I try to install in development mode, I met the following error: `(tensorflow_dlib_face_recognitio) D:\git_projects\dirt\build>make

make: *** No targets specified and no makefile found. Stop.` Please kindly give me some suggestions. Thanks a lot.

pmh47 commented 5 years ago

@haohao-hu Unfortunately DIRT does not support Windows.

haohao-hu commented 4 years ago

OKay. Never mind.

Lideqiang2019 commented 4 years ago

Something wrong with the dirt installation, when doing "pip install ."

Building wheels for collected packages: dirt Building wheel for dirt (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/anaconda3/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-gi6wkqgs/setup.py'"'file='"'"'/tmp/pip-req-build-gi6wkqgs/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-7p5ktmlz cwd: /tmp/pip-req-build-gi6wkqgs/ Complete output (40 lines): running bdist_wheel running build -- The CXX compiler identification is GNU 7.5.0 CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineCUDACompiler.cmake:25 (message): Could not find compiler set in environment variable CUDACXX:

/usr/local/cuda-10.0/bin/nvcc.

Call Stack (most recent call first): CMakeLists.txt:3 (project)

CMake Error: CMAKE_CUDA_COMPILER not set, after EnableLanguage -- Configuring incomplete, errors occurred! See also "/tmp/pip-req-build-gi6wkqgs/build/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-gi6wkqgs/setup.py", line 50, in 'Programming Language :: Python :: 3.7', File "/home/anaconda3/lib/python3.7/site-packages/setuptools/init.py", line 144, in setup return distutils.core.setup(**attrs) File "/home/anaconda3/lib/python3.7/distutils/core.py", line 148, in setup dist.run_commands() File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 966, in run_commands self.run_command(cmd) File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/home/anaconda3/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 223, in run self.run_command('build') File "/home/anaconda3/lib/python3.7/distutils/cmd.py", line 313, in run_command self.distribution.run_command(command) File "/home/anaconda3/lib/python3.7/distutils/dist.py", line 985, in run_command cmd_obj.run() File "/tmp/pip-req-build-gi6wkqgs/setup.py", line 24, in run build_csrc() File "/tmp/pip-req-build-gi6wkqgs/setup.py", line 18, in build_csrc subprocess.check_call(['cmake', os.path.join(base_path, 'csrc')], cwd=build_path) File "/home/anaconda3/lib/python3.7/subprocess.py", line 363, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-gi6wkqgs/csrc']' returned non-zero exit status 1.

ERROR: Failed building wheel for dirt

huangfaan commented 3 years ago

Requirement already satisfied: certifi>=2017.4.17 in /home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages (from requests>=2.0.0->requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.1.0,>=2.0.0->tensorflow-gpu>=1.6->dirt==0.3.0) (2019.9.11) Building wheels for collected packages: dirt Building wheel for dirt (setup.py) ... error ERROR: Command errored out with exit status 1: command: /home/lwk/anaconda3/envs/py27/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-XULIZO/setup.py'"'"'; file='"'"'/tmp/pip-req-build-XULIZO/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-YQn8y2 --python-tag cp27 cwd: /tmp/pip-req-build-XULIZO/ Complete output (47 lines): running bdist_wheel running build -- The CXX compiler identification is GNU 5.4.0 -- The CUDA compiler identification is NVIDIA 7.5.17 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working CUDA compiler: /usr/bin/nvcc -- Check for working CUDA compiler: /usr/bin/nvcc -- works -- Detecting CUDA compiler ABI info -- Detecting CUDA compiler ABI info - done -- Found OpenGL: /usr/lib/x86_64-linux-gnu/libGL.so CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: EGL_LIBRARIES linked by target "rasterise" in directory /tmp/pip-req-build-XULIZO/csrc

-- Configuring incomplete, errors occurred!

See also "/tmp/pip-req-build-XULIZO/build/CMakeFiles/CMakeOutput.log". Traceback (most recent call last): File "", line 1, in File "/tmp/pip-req-build-XULIZO/setup.py", line 50, in 'Programming Language :: Python :: 3.7', File "/home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages/setuptools/init.py", line 145, in setup return distutils.core.setup(attrs) File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/core.py", line 151, in setup dist.run_commands() File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages/wheel/bdist_wheel.py", line 192, in run self.run_command('build') File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/cmd.py", line 326, in run_command self.distribution.run_command(command) File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/tmp/pip-req-build-XULIZO/setup.py", line 24, in run build_csrc() File "/tmp/pip-req-build-XULIZO/setup.py", line 18, in build_csrc subprocess.check_call(['cmake', os.path.join(base_path, 'csrc')], cwd=build_path) File "/home/lwk/anaconda3/envs/py27/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-XULIZO/csrc']' returned non-zero exit status 1 ERROR: Failed building wheel for dirt Running setup.py clean for dirt Failed to build dirt Installing collected packages: dirt Running setup.py install for dirt ... error ERROR: Command errored out with exit status 1: command: /home/lwk/anaconda3/envs/py27/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-XULIZO/setup.py'"'"'; file='"'"'/tmp/pip-req-build-XULIZO/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-4xtGbd/install-record.txt --single-version-externally-managed --compile cwd: /tmp/pip-req-build-XULIZO/ Complete output (36 lines): running install running build CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: EGL_LIBRARIES linked by target "rasterise" in directory /tmp/pip-req-build-XULIZO/csrc

-- Configuring incomplete, errors occurred!
See also "/tmp/pip-req-build-XULIZO/build/CMakeFiles/CMakeOutput.log".
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-req-build-XULIZO/setup.py", line 50, in <module>
    'Programming Language :: Python :: 3.7',
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/command/install.py", line 563, in run
    self.run_command('build')
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/tmp/pip-req-build-XULIZO/setup.py", line 24, in run
    build_csrc()
  File "/tmp/pip-req-build-XULIZO/setup.py", line 18, in build_csrc
    subprocess.check_call(['cmake', os.path.join(base_path, 'csrc')], cwd=build_path)
  File "/home/lwk/anaconda3/envs/py27/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/tmp/pip-req-build-XULIZO/csrc']' returned non-zero exit status 1
----------------------------------------

ERROR: Command errored out with exit status 1: /home/lwk/anaconda3/envs/py27/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-XULIZO/setup.py'"'"'; file='"'"'/tmp/pip-req-build-XULIZO/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-4xtGbd/install-record.txt --single-version-externally-managed --compile Check the logs for full command output.

I have encountered the same problem, did you solve it? How to do?