You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I encountered the following error when installing PointNet++. I'm not sure if it's a compatiable problem.
(pointr_py3.7) q84sun@alchemy:/usr/bin$ pip install "git+https://github.com/erikwijmans/Pointnet2_PyTorch.git#egg=pointnet2_ops&subdirectory=pointnet2_ops_lib"
Collecting pointnet2_ops
Cloning https://github.com/erikwijmans/Pointnet2_PyTorch.git to /tmp/pip-install-lev6u0kf/pointnet2-ops_9e2617bea81344689a33722bdac6320c
Running command git clone --filter=blob:none --quiet https://github.com/erikwijmans/Pointnet2_PyTorch.git /tmp/pip-install-lev6u0kf/pointnet2-ops_9e2617bea81344689a33722bdac6320c
Resolved https://github.com/erikwijmans/Pointnet2_PyTorch.git to commit b5ceb6d9ca0467ea34beb81023f96ee82228f626
Preparing metadata (setup.py) ... done
Requirement already satisfied: torch>=1.4 in /home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages (from pointnet2_ops) (1.7.1+cu110)
Requirement already satisfied: typing-extensions in /home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages (from torch>=1.4->pointnet2_ops) (4.7.1)
...
...
/usr/include/c++/11/type_traits(1406): error: type name is not allowed
detected during instantiation of class "std::is_same<_Tp, _Up> [with _Tp=c10::nullopt_t, _Up=c10::optional<c10::IntArrayRef>]"
/home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages/torch/include/ATen/NativeFunctions.h(2116): here
/usr/include/c++/11/type_traits(1406): error: type name is not allowed
detected during:
instantiation of class "std::is_same<_Tp, _Up> [with _Tp=std::vector<int64_t, std::allocator<int64_t>>, _Up=std::vector<int64_t, std::allocator<int64_t>>]"
/usr/include/c++/11/bits/stl_vector.h(401): here
instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=std::vector<int64_t, std::allocator<int64_t>>, _Alloc=std::allocator<std::vector<int64_t, std::allocator<int64_t>>>]"
/home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages/torch/include/ATen/WrapDimUtils.h(26): here
/usr/include/c++/11/type_traits(1406): error: type name is not allowed
detected during:
instantiation of class "std::is_same<_Tp, _Up> [with _Tp=std::vector<int64_t, std::allocator<int64_t>>, _Up=std::vector<int64_t, std::allocator<int64_t>>]"
/usr/include/c++/11/bits/stl_vector.h(401): here
instantiation of class "std::vector<_Tp, _Alloc> [with _Tp=std::vector<int64_t, std::allocator<int64_t>>, _Alloc=std::allocator<std::vector<int64_t, std::allocator<int64_t>>>]"
/home/q84sun/miniconda3/envs/pointr_py3.7/lib/python3.7/site-packages/torch/include/ATen/WrapDimUtils.h(26): here
Error limit reached.
100 errors detected in the compilation of "pointnet2_ops/_ext-src/src/ball_query_gpu.cu".
Compilation terminated.
error: command '/usr/local/cuda/bin/nvcc' 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.
python: 3.7
pytorch: 1.7
cuda: 12.2
nvcc: 11.2
ubuntu: 22.04
The text was updated successfully, but these errors were encountered:
Hi, I encountered the following error when installing PointNet++. I'm not sure if it's a compatiable problem.
The text was updated successfully, but these errors were encountered: