YuliangXiu / neural_voxelization_layer

7 stars 6 forks source link

install error #2

Open liwenssss opened 2 years ago

liwenssss commented 2 years ago

hi, thx for your nice work. I meet error when I install the package.

error: subprocess-exited-with-error

  ?python setup.py bdist_wheel did not run successfully.
  \u2502 exit code: 1
  \u2570\u2500> [12 lines of output]
      running bdist_wheel
      running build
      running build_ext
      building 'voxelize_cuda' extension
      Emitting ninja build file /home/lws/code/setup/icon/neural_voxelization_layer-master/build/temp.linux-x86_64-cpython-38/build.ninja...
      Compiling objects...
      Allowing ninja to set a default number of workers... (overridable by setting the environment variable MAX_JOBS=N)
      1.10.2.git.kitware.jobserver-1
      creating build/lib.linux-x86_64-cpython-38
      g++ -pthread -B /home/lws/anaconda3/envs/icon/compiler_compat -shared -Wl,--allow-shlib-undefined -Wl,-rpath,/home/lws/anaconda3/envs/icon/lib -Wl,-rpath-link,/home/lws/anaconda3/envs/icon/lib -L/home/lws/anaconda3/envs/icon/lib -Wl,--allow-shlib-undefined -Wl,-rpath,/home/lws/anaconda3/envs/icon/lib -Wl,-rpath-link,/home/lws/anaconda3/envs/icon/lib -L/home/lws/anaconda3/envs/icon/lib /home/lws/code/setup/icon/neural_voxelization_layer-master/build/temp.linux-x86_64-cpython-38/cuda/voxelize_cuda.o /home/lws/code/setup/icon/neural_voxelization_layer-master/build/temp.linux-x86_64-cpython-38/cuda/voxelize_cuda_kernel.o -L/home/lws/anaconda3/envs/icon/lib/python3.8/site-packages/torch/lib -L/usr/local/cuda/lib64 -lc10 -ltorch -ltorch_cpu -ltorch_python -lcudart -lc10_cuda -ltorch_cuda_cu -ltorch_cuda_cpp -o build/lib.linux-x86_64-cpython-38/voxelize_cuda.cpython-38-x86_64-linux-gnu.so
      g++: error: /home/lws/code/setup/icon/neural_voxelization_layer-master/build/temp.linux-x86_64-cpython-38/cuda/voxelize_cuda_kernel.o: No such file or directory
      error: command '/usr/bin/g++' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.

Can you give me any advice about how to fix it ?

yywangvr commented 2 years ago

I get the same issue, SOS @YuliangXiu

(icon) [yang@ubuntu]$ pip install git+https://github.com/YuliangXiu/neural_voxelization_layer.git
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting git+https://github.com/YuliangXiu/neural_voxelization_layer.git
Cloning https://github.com/YuliangXiu/neural_voxelization_layer.git to /tmp/pip-req-build-wn2_4vct
Running command git clone --filter=blob:none --quiet https://github.com/YuliangXiu/neural_voxelization_layer.git /tmp/pip-req-build-wn2_4vct
fatal: unable to access 'https://github.com/YuliangXiu/neural_voxelization_layer.git/': Failed to connect to github.com port 443: Connection timed out
error: subprocess-exited-with-error

  × git clone --filter=blob:none --quiet https://github.com/YuliangXiu/neural_voxelization_layer.git /tmp/pip-req-build-wn2_4vct did not run successfully.
  │ exit code: 128
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/YuliangXiu/neural_voxelization_layer.git /tmp/pip-req-build-wn2_4vct did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
YuliangXiu commented 2 years ago

You can ignore this package if you don't need PaMIR inference.

Kiamur commented 1 year ago

Hi YuliangXiu,

I came here because I try to get your ICON repo running which also tries to install this repository. I got errors there upon the step

Building wheels for collected packages: pytorch3d, voxelize-cuda, kaolin, rembg

I'm very much interested in the source of that error.

I installed pytorch3d from its original repository with its original installation advisory. I will try to do the same for kaolin and rembg... But it would be very much appreciated, if the installation steps in ICON would avtually work. Thanks, Maik

favorxin commented 1 year ago

You can ignore this package if you don't need PaMIR inference.

Hello!I'm trying to run the great work (ICON). But I cannot install the neural_voxelization_layer in the windows. When I run the ICON training code got the error "No module named 'voxelize_cuda'". image

favorxin commented 1 year ago

I get the same issue, SOS @YuliangXiu

(icon) [yang@ubuntu]$ pip install git+https://github.com/YuliangXiu/neural_voxelization_layer.git
Looking in indexes: https://mirrors.aliyun.com/pypi/simple/
Collecting git+https://github.com/YuliangXiu/neural_voxelization_layer.git
Cloning https://github.com/YuliangXiu/neural_voxelization_layer.git to /tmp/pip-req-build-wn2_4vct
Running command git clone --filter=blob:none --quiet https://github.com/YuliangXiu/neural_voxelization_layer.git /tmp/pip-req-build-wn2_4vct
fatal: unable to access 'https://github.com/YuliangXiu/neural_voxelization_layer.git/': Failed to connect to github.com port 443: Connection timed out
error: subprocess-exited-with-error

  × git clone --filter=blob:none --quiet https://github.com/YuliangXiu/neural_voxelization_layer.git /tmp/pip-req-build-wn2_4vct did not run successfully.
  │ exit code: 128
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git clone --filter=blob:none --quiet https://github.com/YuliangXiu/neural_voxelization_layer.git /tmp/pip-req-build-wn2_4vct did not run successfully.
│ exit code: 128
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Please try to download the zip code and cd the code dir. python setup.py build_ext python setup.py install

favorxin commented 1 year ago

You can ignore this package if you don't need PaMIR inference.

Hello!I'm trying to run the great work (ICON). But I cannot install the neural_voxelization_layer in the windows. When I run the ICON training code got the error "No module named 'voxelize_cuda'". image

I adjust the code in voxelize_cuda_kernel.cu, then I successfully install the voxelize_cuda. image Thanks for your work!