MPI-IS / mesh

MPI-IS Mesh Processing Library
Other
663 stars 152 forks source link

fail to import psbody after 'successful installation' #74

Open xiyichen opened 1 year ago

xiyichen commented 1 year ago

I am trying to install this package on colab with python 3.7, when I run BOOST_INCLUDE_DIRS=/usr/include/boost make all, it says 'Successfully installed psbody-mesh'. However, running make tests under the same directory fails to import the installed psbody module:

----- [ mesh_package ] Performing import tests
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'psbody'
Makefile:10: recipe for target 'import_tests' failed
make: *** [import_tests] Error 1

Full output from make all:

/usr/local/lib/python3.7/dist-packages/pip/_internal/commands/install.py:232: UserWarning: Disabling all use of wheels due to the use of --build-option / --global-option / --install-option.
  cmdoptions.check_install_build_global(options)
Using pip 21.1.3 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/include/python3.7/UNKNOWN
sysconfig: /usr/include/python3.7m/UNKNOWN
Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/bin
sysconfig: /usr/bin
Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local
sysconfig: /usr
Additional context:
user = False
home = None
root = None
prefix = None
Non-user install because site-packages writeable
Created temporary directory: /tmp/pip-ephem-wheel-cache-yvdz7vp5
Created temporary directory: /tmp/pip-req-tracker-g092kv91
Initialized build tracking at /tmp/pip-req-tracker-g092kv91
Created build tracker: /tmp/pip-req-tracker-g092kv91
Entered build tracker: /tmp/pip-req-tracker-g092kv91
Created temporary directory: /tmp/pip-install-bt1hr1my
Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Processing /content/mesh
  Created temporary directory: /tmp/pip-req-build-bipke_l9
  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
   pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
  Added file:///content/mesh to build tracker '/tmp/pip-req-tracker-g092kv91'
    Running setup.py (path:/tmp/pip-req-build-bipke_l9/setup.py) egg_info for package from file:///content/mesh
    Created temporary directory: /tmp/pip-pip-egg-info-9rsca2f_
    Running command python setup.py egg_info
    [VERSION] read version is 0.4
    running egg_info
    creating /tmp/pip-pip-egg-info-9rsca2f_/psbody_mesh.egg-info
    writing /tmp/pip-pip-egg-info-9rsca2f_/psbody_mesh.egg-info/PKG-INFO
    writing dependency_links to /tmp/pip-pip-egg-info-9rsca2f_/psbody_mesh.egg-info/dependency_links.txt
    writing namespace_packages to /tmp/pip-pip-egg-info-9rsca2f_/psbody_mesh.egg-info/namespace_packages.txt
    writing requirements to /tmp/pip-pip-egg-info-9rsca2f_/psbody_mesh.egg-info/requires.txt
    writing top-level names to /tmp/pip-pip-egg-info-9rsca2f_/psbody_mesh.egg-info/top_level.txt
    writing manifest file '/tmp/pip-pip-egg-info-9rsca2f_/psbody_mesh.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    adding license file 'LICENSE.txt'
    writing manifest file '/tmp/pip-pip-egg-info-9rsca2f_/psbody_mesh.egg-info/SOURCES.txt'
    /usr/local/lib/python3.7/dist-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
      warnings.warn(msg, SetuptoolsDeprecationWarning)
    /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      setuptools.SetuptoolsDeprecationWarning,
  Source in /tmp/pip-req-build-bipke_l9 has version 0.4, which satisfies requirement psbody-mesh==0.4 from file:///content/mesh
  Removed psbody-mesh==0.4 from file:///content/mesh from build tracker '/tmp/pip-req-tracker-g092kv91'
Created temporary directory: /tmp/pip-unpack-o4_0w90o
Skipping wheel build for psbody-mesh, due to binaries being disabled for it.
Installing collected packages: psbody-mesh
  Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
  distutils: /usr/local/lib/python3.7/dist-packages
  sysconfig: /usr/lib/python3.7/site-packages
  Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
  distutils: /usr/local/lib/python3.7/dist-packages
  sysconfig: /usr/lib/python3.7/site-packages
  Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
  distutils: /usr/local/include/python3.7/psbody-mesh
  sysconfig: /usr/include/python3.7m/psbody-mesh
  Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
  distutils: /usr/local/bin
  sysconfig: /usr/bin
  Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
  distutils: /usr/local
  sysconfig: /usr
  Additional context:
  user = False
  home = None
  root = None
  prefix = None
  Created temporary directory: /tmp/pip-record-_76jss_c
    Running command /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-bipke_l9/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-bipke_l9/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-_76jss_c/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.7/psbody-mesh --boost-location=/usr/include/boost
    [VERSION] read version is 0.4
    /usr/local/lib/python3.7/dist-packages/setuptools/dist.py:286: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
      warnings.warn(msg, SetuptoolsDeprecationWarning)
    running install
    /usr/local/lib/python3.7/dist-packages/setuptools/command/install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
      setuptools.SetuptoolsDeprecationWarning,
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-cpython-37
    creating build/lib.linux-x86_64-cpython-37/psbody
    copying psbody-mesh-namespace/__init__.py -> build/lib.linux-x86_64-cpython-37/psbody
    creating build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/colors.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/processing.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/arcball.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/sphere.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/version.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/errors.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/texture.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/landmarks.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/meshviewer.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/fonts.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/mesh.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/__init__.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/search.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/lines.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    copying mesh/utils.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh
    creating build/lib.linux-x86_64-cpython-37/psbody/mesh/topology
    copying mesh/topology/connectivity.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/topology
    copying mesh/topology/linear_mesh_transform.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/topology
    copying mesh/topology/subdivision.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/topology
    copying mesh/topology/__init__.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/topology
    copying mesh/topology/decimation.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/topology
    creating build/lib.linux-x86_64-cpython-37/psbody/mesh/geometry
    copying mesh/geometry/vert_normals.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/geometry
    copying mesh/geometry/barycentric_coordinates_of_projection.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/geometry
    copying mesh/geometry/cross_product.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/geometry
    copying mesh/geometry/triangle_area.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/geometry
    copying mesh/geometry/__init__.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/geometry
    copying mesh/geometry/rodrigues.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/geometry
    copying mesh/geometry/tri_normals.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/geometry
    creating build/lib.linux-x86_64-cpython-37/psbody/mesh/serialization
    copying mesh/serialization/serialization.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/serialization
    copying mesh/serialization/__init__.py -> build/lib.linux-x86_64-cpython-37/psbody/mesh/serialization
    running build_ext
    [CGAL] deflating cgal from "mesh/thirdparty/CGAL-4.7.tar.gz" to "/tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37"
    building 'psbody.mesh.aabb_normals' extension
    creating build/temp.linux-x86_64-cpython-37/mesh
    creating build/temp.linux-x86_64-cpython-37/mesh/src
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNDEBUG=1 -DCGAL_NDEBUG=1 -DMESH_CGAL_AVOID_COMPILED_VERSION=1 -DCGAL_HAS_NO_THREADS=1 -DCGAL_NO_AUTOLINK_CGAL=1 -Imesh/src -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include -I/usr/include/boost -I/usr/include/python3.7m -c mesh/src/aabb_normals.cpp -o build/temp.linux-x86_64-cpython-37/mesh/src/aabb_normals.o -O3 -fopenmp
    In file included from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1969:0,
                     from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from mesh/src/aabb_normals.cpp:4:
    /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    mesh/src/aabb_normals.cpp: In function ‘PyObject* aabbtree_normals_nearest(PyObject*, PyObject*)’:
    mesh/src/aabb_normals.cpp:150:36: warning: narrowing conversion of ‘S’ from ‘size_t {aka long unsigned int}’ to ‘npy_intp {aka long int}’ inside { } [-Wnarrowing]
         npy_intp result1_dims[] = {1, S};
                                        ^
    mesh/src/aabb_normals.cpp:157:40: warning: narrowing conversion of ‘S’ from ‘size_t {aka long unsigned int}’ to ‘npy_intp {aka long int}’ inside { } [-Wnarrowing]
             npy_intp result2_dims[] = {S, 3};
                                            ^
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-37/mesh/src/aabb_normals.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-37/psbody/mesh/aabb_normals.cpython-37m-x86_64-linux-gnu.so -O3 -fopenmp
    building 'psbody.mesh.spatialsearch' extension
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNDEBUG=1 -DCGAL_NDEBUG=1 -DMESH_CGAL_AVOID_COMPILED_VERSION=1 -DCGAL_HAS_NO_THREADS=1 -DCGAL_NO_AUTOLINK_CGAL=1 -Imesh/src -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include -I/usr/include/boost -I/usr/include/python3.7m -c mesh/src/spatialsearchmodule.cpp -o build/temp.linux-x86_64-cpython-37/mesh/src/spatialsearchmodule.o -O3 -fopenmp
    In file included from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1969:0,
                     from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from mesh/src/spatialsearchmodule.cpp:4:
    /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    mesh/src/spatialsearchmodule.cpp: In function ‘PyObject* spatialsearch_aabbtree_nearest(PyObject*, PyObject*)’:
    mesh/src/spatialsearchmodule.cpp:190:36: warning: narrowing conversion of ‘S’ from ‘size_t {aka long unsigned int}’ to ‘npy_intp {aka long int}’ inside { } [-Wnarrowing]
         npy_intp result1_dims[] = {1, S};
                                        ^
    mesh/src/spatialsearchmodule.cpp:198:36: warning: narrowing conversion of ‘S’ from ‘size_t {aka long unsigned int}’ to ‘npy_intp {aka long int}’ inside { } [-Wnarrowing]
         npy_intp result3_dims[] = {S, 3};
                                        ^
    mesh/src/spatialsearchmodule.cpp: In function ‘PyObject* spatialsearch_aabbtree_nearest_alongnormal(PyObject*, PyObject*)’:
    mesh/src/spatialsearchmodule.cpp:249:33: warning: narrowing conversion of ‘S’ from ‘size_t {aka long unsigned int}’ to ‘npy_intp {aka long int}’ inside { } [-Wnarrowing]
         npy_intp result1_dims[] = {S};
                                     ^
    mesh/src/spatialsearchmodule.cpp:258:36: warning: narrowing conversion of ‘S’ from ‘size_t {aka long unsigned int}’ to ‘npy_intp {aka long int}’ inside { } [-Wnarrowing]
         npy_intp result3_dims[] = {S, 3};
                                        ^
    mesh/src/spatialsearchmodule.cpp: In function ‘PyObject* spatialsearch_aabbtree_intersections_indices(PyObject*, PyObject*, PyObject*)’:
    mesh/src/spatialsearchmodule.cpp:396:58: warning: narrowing conversion of ‘mesh_intersections.std::vector<unsigned int>::size()’ from ‘std::vector<unsigned int>::size_type {aka long unsigned int}’ to ‘npy_intp {aka long int}’ inside { } [-Wnarrowing]
             npy_intp result_dims[] = {mesh_intersections.size()};
                                       ~~~~~~~~~~~~~~~~~~~~~~~^~
    mesh/src/spatialsearchmodule.cpp: At global scope:
    mesh/src/spatialsearchmodule.cpp:316:19: warning: ‘PyObject* spatialsearch_aabbtree_intersections_indices(PyObject*, PyObject*, PyObject*)’ defined but not used [-Wunused-function]
     static PyObject * spatialsearch_aabbtree_intersections_indices(PyObject *self, PyObject *args, PyObject *keywds) {
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-37/mesh/src/spatialsearchmodule.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-37/psbody/mesh/spatialsearch.cpython-37m-x86_64-linux-gnu.so -O3 -fopenmp
    building 'psbody.mesh.visibility' extension
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNDEBUG=1 -DCGAL_NDEBUG=1 -DMESH_CGAL_AVOID_COMPILED_VERSION=1 -DCGAL_HAS_NO_THREADS=1 -DCGAL_NO_AUTOLINK_CGAL=1 -Imesh/src -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include -I/usr/include/boost -I/usr/include/python3.7m -c mesh/src/py_visibility.cpp -o build/temp.linux-x86_64-cpython-37/mesh/src/py_visibility.o -O3 -fopenmp
    In file included from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1969:0,
                     from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from mesh/src/py_visibility.cpp:6:
    /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    mesh/src/py_visibility.cpp: In function ‘PyObject* visibility_compute(PyObject*, PyObject*, PyObject*)’:
    mesh/src/py_visibility.cpp:89:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
                                      "extra_v", "extra_f", "min_dist", NULL};
                                                                            ^
    mesh/src/py_visibility.cpp:89:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    mesh/src/py_visibility.cpp:89:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    mesh/src/py_visibility.cpp:89:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    mesh/src/py_visibility.cpp:89:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    mesh/src/py_visibility.cpp:89:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    mesh/src/py_visibility.cpp:89:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    mesh/src/py_visibility.cpp:89:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    mesh/src/py_visibility.cpp:89:72: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
    mesh/src/py_visibility.cpp:120:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for(size_t pp=0; pp<nv; ++pp){
                                  ~~^~~
    mesh/src/py_visibility.cpp:127:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 for(size_t tt=0; tt<nf; ++tt) {
                                  ~~^~~
    mesh/src/py_visibility.cpp:141:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for(size_t pp=0; pp<nv_extra; ++pp){
                                      ~~^~~~~~~~~
    mesh/src/py_visibility.cpp:148:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for(size_t tt=0; tt<nf_extra; ++tt) {
                                      ~~^~~~~~~~~
    mesh/src/py_visibility.cpp:174:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (n_dims[1] != 3 || n_dims[0] != search->points.size()) {
                                       ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
    mesh/src/py_visibility.cpp:195:58: warning: narrowing conversion of ‘C’ from ‘size_t {aka long unsigned int}’ to ‘npy_intp {aka long int}’ inside { } [-Wnarrowing]
             npy_intp result_dims[] = {C,search->points.size()};
                                                              ^
    mesh/src/py_visibility.cpp:195:56: warning: narrowing conversion of ‘search->TreeAndTri::points.std::vector<CGAL::Point_3<CGAL::Simple_cartesian<double> > >::size()’ from ‘std::vector<CGAL::Point_3<CGAL::Simple_cartesian<double> > >::size_type {aka long unsigned int}’ to ‘npy_intp {aka long int}’ inside { } [-Wnarrowing]
             npy_intp result_dims[] = {C,search->points.size()};
                                         ~~~~~~~~~~~~~~~~~~~^~
    mesh/src/py_visibility.cpp: In instantiation of ‘npy_intp parse_pyarray(const PyArrayObject*, const boost::array<CTYPE, 3>*&) [with CTYPE = double; int PYTYPE = 12; npy_intp = long int; PyArrayObject = tagPyArrayObject_fields]’:
    mesh/src/py_visibility.cpp:115:76:   required from here
    mesh/src/py_visibility.cpp:66:16: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
             return NULL;
                    ^~~~
    mesh/src/py_visibility.cpp:71:16: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
             return NULL;
                    ^~~~
    mesh/src/py_visibility.cpp: In instantiation of ‘npy_intp parse_pyarray(const PyArrayObject*, const boost::array<CTYPE, 3>*&) [with CTYPE = unsigned int; int PYTYPE = 6; npy_intp = long int; PyArrayObject = tagPyArrayObject_fields]’:
    mesh/src/py_visibility.cpp:116:78:   required from here
    mesh/src/py_visibility.cpp:66:16: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
             return NULL;
                    ^~~~
    mesh/src/py_visibility.cpp:71:16: warning: converting to non-pointer type ‘long int’ from NULL [-Wconversion-null]
             return NULL;
                    ^~~~
    mesh/src/py_visibility.cpp:135:42: warning: ‘faces_extra_arr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                     const array<uint32_t,3>* faces_extra_arr;
                                              ^~~~~~~~~~~~~~~
    mesh/src/py_visibility.cpp:134:40: warning: ‘verts_extra_arr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                     const array<double,3>* verts_extra_arr;
                                            ^~~~~~~~~~~~~~~
    mesh/src/py_visibility.cpp:113:38: warning: ‘faces_arr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                 const array<uint32_t,3>* faces_arr;
                                          ^~~~~~~~~
    mesh/src/py_visibility.cpp:112:36: warning: ‘verts_arr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                 const array<double,3>* verts_arr;
                                        ^~~~~~~~~
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNDEBUG=1 -DCGAL_NDEBUG=1 -DMESH_CGAL_AVOID_COMPILED_VERSION=1 -DCGAL_HAS_NO_THREADS=1 -DCGAL_NO_AUTOLINK_CGAL=1 -Imesh/src -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include -I/usr/include/boost -I/usr/include/python3.7m -c mesh/src/visibility.cpp -o build/temp.linux-x86_64-cpython-37/mesh/src/visibility.o -O3 -fopenmp
    In file included from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/Cartesian_base.h:68:0,
                     from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Simple_cartesian.h:28,
                     from mesh/src/visibility.cpp:6:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h: In function ‘void _internal_compute(const TreeAndTri*, const double*, const double*, size_t, bool, const double*, const double&, uint32_t*, double*)’:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h:940:47: warning: ‘*((void*)& zoff +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      return v.x() * w.x() + v.y() * w.y() + v.z() * w.z();
    mesh/src/visibility.cpp:77:31: note: ‘*((void*)& zoff +16)’ was declared here
             K::Vector_3 xoff,yoff,zoff;
                                   ^~~~
    In file included from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/Cartesian_base.h:68:0,
                     from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Simple_cartesian.h:28,
                     from mesh/src/visibility.cpp:6:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h:940:31: warning: ‘*((void*)& zoff +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      return v.x() * w.x() + v.y() * w.y() + v.z() * w.z();
    mesh/src/visibility.cpp:77:31: note: ‘*((void*)& zoff +8)’ was declared here
             K::Vector_3 xoff,yoff,zoff;
                                   ^~~~
    In file included from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/Cartesian_base.h:68:0,
                     from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Simple_cartesian.h:28,
                     from mesh/src/visibility.cpp:6:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h:940:15: warning: ‘zoff’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      return v.x() * w.x() + v.y() * w.y() + v.z() * w.z();
    mesh/src/visibility.cpp:77:31: note: ‘zoff’ was declared here
             K::Vector_3 xoff,yoff,zoff;
                                   ^~~~
    In file included from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/Cartesian_base.h:68:0,
                     from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Simple_cartesian.h:28,
                     from mesh/src/visibility.cpp:6:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h:940:47: warning: ‘*((void*)& yoff +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      return v.x() * w.x() + v.y() * w.y() + v.z() * w.z();
    mesh/src/visibility.cpp:77:26: note: ‘*((void*)& yoff +16)’ was declared here
             K::Vector_3 xoff,yoff,zoff;
                              ^~~~
    In file included from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/Cartesian_base.h:68:0,
                     from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Simple_cartesian.h:28,
                     from mesh/src/visibility.cpp:6:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h:940:31: warning: ‘*((void*)& yoff +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      return v.x() * w.x() + v.y() * w.y() + v.z() * w.z();
    mesh/src/visibility.cpp:77:26: note: ‘*((void*)& yoff +8)’ was declared here
             K::Vector_3 xoff,yoff,zoff;
                              ^~~~
    In file included from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/Cartesian_base.h:68:0,
                     from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Simple_cartesian.h:28,
                     from mesh/src/visibility.cpp:6:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h:940:15: warning: ‘yoff’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      return v.x() * w.x() + v.y() * w.y() + v.z() * w.z();
    mesh/src/visibility.cpp:77:26: note: ‘yoff’ was declared here
             K::Vector_3 xoff,yoff,zoff;
                              ^~~~
    In file included from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/Cartesian_base.h:68:0,
                     from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Simple_cartesian.h:28,
                     from mesh/src/visibility.cpp:6:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h:940:47: warning: ‘*((void*)& xoff +16)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      return v.x() * w.x() + v.y() * w.y() + v.z() * w.z();
    mesh/src/visibility.cpp:77:21: note: ‘*((void*)& xoff +16)’ was declared here
             K::Vector_3 xoff,yoff,zoff;
                         ^~~~
    In file included from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/Cartesian_base.h:68:0,
                     from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Simple_cartesian.h:28,
                     from mesh/src/visibility.cpp:6:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h:940:31: warning: ‘*((void*)& xoff +8)’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      return v.x() * w.x() + v.y() * w.y() + v.z() * w.z();
    mesh/src/visibility.cpp:77:21: note: ‘*((void*)& xoff +8)’ was declared here
             K::Vector_3 xoff,yoff,zoff;
                         ^~~~
    In file included from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/Cartesian_base.h:68:0,
                     from /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Simple_cartesian.h:28,
                     from mesh/src/visibility.cpp:6:
    /tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include/CGAL/Cartesian/function_objects.h:940:15: warning: ‘xoff’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      return v.x() * w.x() + v.y() * w.y() + v.z() * w.z();
    mesh/src/visibility.cpp:77:21: note: ‘xoff’ was declared here
             K::Vector_3 xoff,yoff,zoff;
                         ^~~~
    mesh/src/visibility.cpp:100:69: warning: ‘planeoff’ may be used uninitialized in this function [-Wmaybe-uninitialized]
                         double t = -(zoff*(verts_v[ivert]-CGAL::ORIGIN) - planeoff)/(zoff*dir);
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
    mesh/src/visibility.cpp:78:16: note: ‘planeoff’ was declared here
             double planeoff;
                    ^~~~~~~~
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-37/mesh/src/py_visibility.o build/temp.linux-x86_64-cpython-37/mesh/src/visibility.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-37/psbody/mesh/visibility.cpython-37m-x86_64-linux-gnu.so -O3 -fopenmp
    building 'psbody.mesh.serialization.plyutils' extension
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNDEBUG=1 -Imesh/src -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include -I/usr/include/boost -I/usr/include/python3.7m -c mesh/src/plyutils.c -o build/temp.linux-x86_64-cpython-37/mesh/src/plyutils.o -O3 -fopenmp
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNDEBUG=1 -Imesh/src -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include -I/usr/include/boost -I/usr/include/python3.7m -c mesh/src/rply.c -o build/temp.linux-x86_64-cpython-37/mesh/src/rply.o -O3 -fopenmp
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-37/mesh/src/plyutils.o build/temp.linux-x86_64-cpython-37/mesh/src/rply.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-37/psbody/mesh/serialization/plyutils.cpython-37m-x86_64-linux-gnu.so -O3 -fopenmp
    building 'psbody.mesh.serialization.loadobj' extension
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -fPIC -DNDEBUG=1 -Imesh/src -I/usr/local/lib/python3.7/dist-packages/numpy/core/include -I/tmp/pip-req-build-bipke_l9/build/temp.linux-x86_64-cpython-37/CGAL-4.7/include -I/usr/include/boost -I/usr/include/python3.7m -c mesh/src/py_loadobj.cpp -o build/temp.linux-x86_64-cpython-37/mesh/src/py_loadobj.o -O3 -fopenmp
    In file included from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1969:0,
                     from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:12,
                     from /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
                     from mesh/src/py_loadobj.cpp:5:
    /usr/local/lib/python3.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
     #warning "Using deprecated NumPy API, disable it with " \
      ^~~~~~~
    mesh/src/py_loadobj.cpp: In function ‘PyObject* loadobj(PyObject*, PyObject*, PyObject*)’:
    mesh/src/py_loadobj.cpp:150:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (int i=1; i<(localf.size()-1); ++i) {
                                       ~^~~~~~~~~~~~~~~~~~
    mesh/src/py_loadobj.cpp:159:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (int i=1; i<(localft.size()-1); ++i){
                                       ~^~~~~~~~~~~~~~~~~~~
    mesh/src/py_loadobj.cpp:166:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (int i=1; i<(localfn.size()-1); ++i){
                                       ~^~~~~~~~~~~~~~~~~~~
    x86_64-linux-gnu-g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -g -fwrapv -O2 build/temp.linux-x86_64-cpython-37/mesh/src/py_loadobj.o -L/usr/lib/x86_64-linux-gnu -o build/lib.linux-x86_64-cpython-37/psbody/mesh/serialization/loadobj.cpython-37m-x86_64-linux-gnu.so -O3 -fopenmp
    running build_scripts
    creating build/scripts-3.7
    copying and adjusting bin/meshviewer -> build/scripts-3.7
    changing mode of build/scripts-3.7/meshviewer from 644 to 755
    running install_lib
    Skipping installation of /usr/lib/python3.7/site-packages/psbody/__init__.py (namespace package)
    copying psbody/mesh/colors.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/processing.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/arcball.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/sphere.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/version.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/errors.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/aabb_normals.cpython-37m-x86_64-linux-gnu.so -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/visibility.cpython-37m-x86_64-linux-gnu.so -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/texture.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/landmarks.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/meshviewer.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/fonts.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/mesh.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/__init__.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/search.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/lines.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/spatialsearch.cpython-37m-x86_64-linux-gnu.so -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/utils.py -> /usr/lib/python3.7/site-packages/psbody/mesh
    copying psbody/mesh/geometry/vert_normals.py -> /usr/lib/python3.7/site-packages/psbody/mesh/geometry
    copying psbody/mesh/geometry/barycentric_coordinates_of_projection.py -> /usr/lib/python3.7/site-packages/psbody/mesh/geometry
    copying psbody/mesh/geometry/cross_product.py -> /usr/lib/python3.7/site-packages/psbody/mesh/geometry
    copying psbody/mesh/geometry/triangle_area.py -> /usr/lib/python3.7/site-packages/psbody/mesh/geometry
    copying psbody/mesh/geometry/__init__.py -> /usr/lib/python3.7/site-packages/psbody/mesh/geometry
    copying psbody/mesh/geometry/rodrigues.py -> /usr/lib/python3.7/site-packages/psbody/mesh/geometry
    copying psbody/mesh/geometry/tri_normals.py -> /usr/lib/python3.7/site-packages/psbody/mesh/geometry
    copying psbody/mesh/topology/connectivity.py -> /usr/lib/python3.7/site-packages/psbody/mesh/topology
    copying psbody/mesh/topology/linear_mesh_transform.py -> /usr/lib/python3.7/site-packages/psbody/mesh/topology
    copying psbody/mesh/topology/subdivision.py -> /usr/lib/python3.7/site-packages/psbody/mesh/topology
    copying psbody/mesh/topology/__init__.py -> /usr/lib/python3.7/site-packages/psbody/mesh/topology
    copying psbody/mesh/topology/decimation.py -> /usr/lib/python3.7/site-packages/psbody/mesh/topology
    copying psbody/mesh/serialization/plyutils.cpython-37m-x86_64-linux-gnu.so -> /usr/lib/python3.7/site-packages/psbody/mesh/serialization
    copying psbody/mesh/serialization/loadobj.cpython-37m-x86_64-linux-gnu.so -> /usr/lib/python3.7/site-packages/psbody/mesh/serialization
    copying psbody/mesh/serialization/serialization.py -> /usr/lib/python3.7/site-packages/psbody/mesh/serialization
    copying psbody/mesh/serialization/__init__.py -> /usr/lib/python3.7/site-packages/psbody/mesh/serialization
    running install_egg_info
    running egg_info
    creating psbody_mesh.egg-info
    writing psbody_mesh.egg-info/PKG-INFO
    writing dependency_links to psbody_mesh.egg-info/dependency_links.txt
    writing namespace_packages to psbody_mesh.egg-info/namespace_packages.txt
    writing requirements to psbody_mesh.egg-info/requires.txt
    writing top-level names to psbody_mesh.egg-info/top_level.txt
    writing manifest file 'psbody_mesh.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    adding license file 'LICENSE.txt'
    writing manifest file 'psbody_mesh.egg-info/SOURCES.txt'
    removing '/usr/lib/python3.7/site-packages/psbody_mesh-0.4-py3.7.egg-info' (and everything under it)
    Copying psbody_mesh.egg-info to /usr/lib/python3.7/site-packages/psbody_mesh-0.4-py3.7.egg-info
    Installing /usr/lib/python3.7/site-packages/psbody_mesh-0.4-py3.7-nspkg.pth
    running install_scripts
    copying build/scripts-3.7/meshviewer -> /usr/bin
    changing mode of /usr/bin/meshviewer to 755
    writing list of installed files to '/tmp/pip-record-_76jss_c/install-record.txt'
    Running setup.py install for psbody-mesh ... done
Value for scheme.platlib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.purelib does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/lib/python3.7/dist-packages
sysconfig: /usr/lib/python3.7/site-packages
Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/include/python3.7/UNKNOWN
sysconfig: /usr/include/python3.7m/UNKNOWN
Value for scheme.scripts does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local/bin
sysconfig: /usr/bin
Value for scheme.data does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: /usr/local
sysconfig: /usr
Additional context:
user = False
home = None
root = None
prefix = None
Successfully installed psbody-mesh

ls -al gives the following:

total 160
drwxr-xr-x 10 root root  4096 Oct  3 20:34 .
drwxr-xr-x  1 root root  4096 Oct  3 20:34 ..
drwxr-xr-x  2 root root  4096 Oct  3 20:34 bin
-rw-r--r--  1 root root 78683 Oct  3 20:34 CGAL_LICENSE.pdf
drwxr-xr-x  3 root root  4096 Oct  3 20:34 data
drwxr-xr-x  3 root root  4096 Oct  3 20:34 doc
drwxr-xr-x  8 root root  4096 Oct  3 20:34 .git
-rw-r--r--  1 root root    98 Oct  3 20:34 .gitignore
-rw-r--r--  1 root root  1879 Oct  3 20:34 LICENSE.txt
-rw-r--r--  1 root root  1841 Oct  3 20:34 Makefile
-rw-r--r--  1 root root    64 Oct  3 20:34 MANIFEST.in
drwxr-xr-x  9 root root  4096 Oct  3 20:34 mesh
drwxr-xr-x  2 root root  4096 Oct  3 20:34 psbody-mesh-namespace
-rw-r--r--  1 root root  4285 Oct  3 20:34 README.md
-rw-r--r--  1 root root    77 Oct  3 20:34 requirements.txt
-rw-r--r--  1 root root  9879 Oct  3 20:34 setup.py
drwxr-xr-x  2 root root  4096 Oct  3 20:34 tests
drwxr-xr-x  3 root root  4096 Oct  3 20:34 utils

Any idea what went wrong?

astroshencn commented 1 year ago

same issues here. have you found any solutions?

xiyichen commented 1 year ago

No, I have not.

shanshanhao commented 1 year ago

+1

fatbardhfeta commented 1 year ago

I had the same problem with my Ubuntu20.4 Docker container. Try updating this: apt-get install \ libeigen3-dev \ libgmp-dev \ libgmpxx4ldbl \ libmpfr-dev \ libboost-dev \ libboost-thread-dev \ libtbb-dev \ python3-dev

I used this from the requirements of PyMesh. Fixed my issue

saram098 commented 2 months ago

@xiyichen In which folder you run this command BOOST_INCLUDE_DIRS=/usr/include/boost make all