TreePartNet icon indicating copy to clipboard operation
TreePartNet copied to clipboard

Error while running 'pip install ./pointnet2_ops_lib/'

Open zhengqianisme opened this issue 3 years ago • 2 comments

Hello, I am trying to do the setup for using Treepartnet. My environment contains Python = 3.7.13 , cuda=11.5 and pytorch=1.5.0. If I try running "pip install -r requirements.txt" I receive the following errors during the compiling:

`/home/anaconda3/envs/wyy/compiler_compat/ld: cannot find /home/.../TreePartNet/pointnet2_ops_lib/build/temp.linux-x86_64-cpython-37/pointnet2_ops/_ext-src/src/ball_query.o: 没有那个文件或目录 /home/anaconda3/envs/wyy/compiler_compat/ld: cannot find /home/.../TreePartNet/pointnet2_ops_lib/build/temp.linux-x86_64-cpython-37/pointnet2_ops/_ext-src/src/ball_query_gpu.o: 没有那个文件或目录 /home/anaconda3/envs/wyy/compiler_compat/ld: cannot find /home/.../TreePartNet/pointnet2_ops_lib/build/temp.linux-x86_64-cpython-37/pointnet2_ops/_ext-src/src/bindings.o: 没有那个文件或目录 /home/anaconda3/envs/wyy/compiler_compat/ld: cannot find /home/.../TreePartNet/pointnet2_ops_lib/build/temp.linux-x86_64-cpython-37/pointnet2_ops/_ext-src/src/group_points.o: 没有那个文件或目录 /home/anaconda3/envs/wyy/compiler_compat/ld: cannot find /home/.../TreePartNet/pointnet2_ops_lib/build/temp.linux-x86_64-cpython-37/pointnet2_ops/_ext-src/src/group_points_gpu.o: 没有那个文件或目录 /home/anaconda3/envs/wyy/compiler_compat/ld: cannot find /home/.../TreePartNet/pointnet2_ops_lib/build/temp.linux-x86_64-cpython-37/pointnet2_ops/_ext-src/src/interpolate.o: 没有那个文件或目录 /home/anaconda3/envs/wyy/compiler_compat/ld: cannot find /home/...TreePartNet/pointnet2_ops_lib/build/temp.linux-x86_64-cpython-37/pointnet2_ops/_ext-src/src/interpolate_gpu.o: 没有那个文件或目录 /home/anaconda3/envs/wyy/compiler_compat/ld: cannot find /home/.../TreePartNet/pointnet2_ops_lib/build/temp.linux-x86_64-cpython-37/pointnet2_ops/_ext-src/src/sampling.o: 没有那个文件或目录 /home/anaconda3/envs/wyy/compiler_compat/ld: cannot find /home/.../TreePartNet/pointnet2_ops_lib/build/temp.linux-x86_64-cpython-37/pointnet2_ops/_ext-src/src/sampling_gpu.o: 没有那个文件或目录 collect2: error: ld returned 1 exit status 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. error: legacy-install-failure

× Encountered error while trying to install package. ╰─> pointnet2-ops

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.` I need help,thanks!!!!!!!!!!

zhengqianisme avatar Oct 18 '22 14:10 zhengqianisme

You may need to install nvcc corresponding to your runtime pytorch version.

marktube avatar Dec 16 '22 12:12 marktube

我也遇到了同样的问题,还没有解决 我的电脑是windows系统 影响大吗?

Lanson426 avatar Feb 25 '23 02:02 Lanson426