hand_object_detector icon indicating copy to clipboard operation
hand_object_detector copied to clipboard

fatal error: ATen/ceil_div.h: No such file or directory

Open HughesField opened this issue 10 months ago • 0 comments

  1. I got this error executing "python setup.py build develop": ... something else ... fatal error: ATen/ceil_div.h: No such file or directory #include <ATen/ceil_div.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1

My environment: Ubuntu 22.04, GCC 11.4.0. I failed install opencv-python using "pip install -r requirements.txt", so I manually installed opencv-python = 4.3.0.38 for python=3.6 environment.

  1. I tried to copy missing "ceil_div.h" from other places in anaconda3 directory, it stopped reporting missing files, but went into a lot of other problems, and they are weird: /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:56:24: error: ‘conditional_t’ does not name a type 56 | using forwarded_type = conditional_t< | ^~~~~~~~~~~~~ /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:62:1: error: ‘forwarded_type’ does not name a type 62 | forwarded_type<T, U> forward_like(U &&u) { | ^~~~~~~~~~~~~~ /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:68:22: error: ‘make_caster’ does not name a type; did you mean ‘type_caster’? 68 | using key_conv = make_caster<Key>; | ^~~~~~~~~~~ | type_caster /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:70:15: error: ‘handle’ has not been declared 70 | bool load(handle src, bool convert) { | ^~~~~~ /home/zjt/anaconda3/envs/handobj/lib/python3.6/site-packages/torch/lib/include/pybind11/stl.h:85:12: error: ‘handle’ does not name a type 85 | static handle cast(T &&src, return_value_policy policy, handle parent) {

what can I do for it?

HughesField avatar Apr 03 '24 09:04 HughesField