Skip to content

Error while running 'pip install ./pointnet2_ops_lib/' #5

Description

@zhengqianisme

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!!!!!!!!!!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions