Giter Site home page Giter Site logo

Comments (2)

AkaCoder404 avatar AkaCoder404 commented on August 18, 2024 1

I also received this error.

Building wheel for torch-points-kernels (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [176 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-38
      creating build/lib.linux-x86_64-cpython-38/torch_points_kernels
      copying torch_points_kernels/metrics.py -> build/lib.linux-x86_64-cpython-38/torch_points_kernels
      copying torch_points_kernels/chamfer_dist.py -> build/lib.linux-x86_64-cpython-38/torch_points_kernels
      copying torch_points_kernels/torchpoints.py -> build/lib.linux-x86_64-cpython-38/torch_points_kernels
      copying torch_points_kernels/__init__.py -> build/lib.linux-x86_64-cpython-38/torch_points_kernels
      copying torch_points_kernels/cubic_feature_sampling.py -> build/lib.linux-x86_64-cpython-38/torch_points_kernels
      copying torch_points_kernels/gridding.py -> build/lib.linux-x86_64-cpython-38/torch_points_kernels
      copying torch_points_kernels/cluster.py -> build/lib.linux-x86_64-cpython-38/torch_points_kernels
      copying torch_points_kernels/knn.py -> build/lib.linux-x86_64-cpython-38/torch_points_kernels
      running build_ext
      building 'torch_points_kernels.points_cpu' extension
      creating build/temp.linux-x86_64-cpython-38
      creating build/temp.linux-x86_64-cpython-38/cpu
      creating build/temp.linux-x86_64-cpython-38/cpu/src

from torch-points-kernels.

MengfeiTop avatar MengfeiTop commented on August 18, 2024

cpu/src/neighbors.cpp: In instantiation of ‘void nanoflann_knn_neighbors(std::vector<scalar_t>&, std::vector<scalar_t>&, std::vector&, std::vector&, int) [with scalar_t = float]’:
cpu/src/knn.cpp:20:5: required from here
cpu/src/neighbors.cpp:317:40: error: no matching function for call to ‘index(my_kd_tree_t*)’
317 | std::unique_ptr<my_kd_tree_t> index(new my_kd_tree_t(3, pcd, tree_params));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/strings.h:55:1: note: candidate: ‘char* index(char*, int)’
55 | index (char __s, int __c) __THROW
| ^~~~~
/usr/include/strings.h:55:1: note: candidate expects 2 arguments, 1 provided
/usr/include/strings.h:61:1: note: candidate: ‘const char
index(const char*, int)’
61 | index (const char *__s, int __c) __THROW
| ^~~~~
/usr/include/strings.h:61:1: note: candidate expects 2 arguments, 1 provided
error: command '/usr/bin/gcc' failed with exit code 1
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for torch-points-kernels
Running setup.py clean for torch-points-kernels
Failed to build torch-points-kernels
ERROR: Could not build wheels for torch-points-kernels, which is required to install pyproject.toml-based projects

Also have the same error

from torch-points-kernels.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.