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
I am getting the following error during "make all"
OS: Mac
Host: x64-osx - Intel
I tried to compile using clang as well but I get the same error.
BOOST_INCLUDE_DIRS=/usr/local/Cellar/boost/1.81.0/include/ make all ─╯
----- [ mesh_package ] Installing with the interpreter /Users/ KNM/Docs/python_venv/bin/python (version 3.9.13)
Requirement already satisfied: setuptools in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from -r requirements.txt (line 1)) (66.1.1)
Requirement already satisfied: numpy in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from -r requirements.txt (line 2)) (1.24.1)
Requirement already satisfied: matplotlib in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from -r requirements.txt (line 3)) (3.6.3)
Requirement already satisfied: scipy in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from -r requirements.txt (line 4)) (1.10.0)
Requirement already satisfied: pyopengl in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from -r requirements.txt (line 5)) (3.1.6)
Requirement already satisfied: pillow in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from -r requirements.txt (line 6)) (9.4.0)
Requirement already satisfied: pyzmq in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from -r requirements.txt (line 7)) (25.0.0)
Requirement already satisfied: pyyaml in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from -r requirements.txt (line 8)) (6.0)
Requirement already satisfied: opencv-python in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from -r requirements.txt (line 9)) (4.7.0.68)
Requirement already satisfied: cycler>=0.10 in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 3)) (0.11.0)
Requirement already satisfied: pyparsing>=2.2.1 in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 3)) (3.0.9)
Requirement already satisfied: fonttools>=4.22.0 in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 3)) (4.34.4)
Requirement already satisfied: kiwisolver>=1.0.1 in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 3)) (1.4.4)
Requirement already satisfied: contourpy>=1.0.1 in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 3)) (1.0.7)
Requirement already satisfied: packaging>=20.0 in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 3)) (21.3)
Requirement already satisfied: python-dateutil>=2.7 in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from matplotlib->-r requirements.txt (line 3)) (2.8.2)
Requirement already satisfied: six>=1.5 in /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages (from python-dateutil>=2.7->matplotlib->-r requirements.txt (line 3)) (1.16.0)
Package Version
--------------------- ----------------------
absl-py 1.2.0
addict 2.4.0
aiohttp 3.8.3
aiosignal 1.3.1
alphashape 1.3.1
appdirs 1.4.4
appnope 0.1.3
asttokens 2.0.7
async-timeout 4.0.2
attrs 22.1.0
backcall 0.2.0
certifi 2022.12.7
cgal 5.5.1.post202210191030
charset-normalizer 2.1.1
checkerboard 0.2.4
chumpy 0.70
click 8.1.3
click-log 0.4.0
contourpy 1.0.7
cycler 0.11.0
Cython 0.29.21
debugpy 1.6.2
decorator 5.1.1
dlib 19.24.0
entrypoints 0.4
executing 0.9.1
fonttools 4.34.4
frozenlist 1.3.3
grpcio 1.50.0
grpcio-tools 1.50.0
idna 3.4
imageio 2.21.1
iniconfig 1.1.1
ipykernel 6.15.1
ipython 8.4.0
jedi 0.18.1
joblib 1.1.0
jupyter-client 7.3.4
jupyter-core 4.11.1
kiwisolver 1.4.4
matplotlib 3.6.3
matplotlib-inline 0.1.3
mediapipe 0.8.11
mpmath 1.2.1
multidict 6.0.4
nest-asyncio 1.5.5
networkx 2.8.5
numpy 1.24.1
open3d 0.15.1
opencv-contrib-python 4.5.5.64
opencv-python 4.7.0.68
packaging 21.3
pandas 1.4.3
parso 0.8.3
pexpect 4.8.0
pickleshare 0.7.5
piexif 1.1.3
Pillow 9.4.0
pip 22.3.1
pluggy 1.0.0
pooch 1.6.0
prompt-toolkit 3.0.30
protobuf 3.20.1
psutil 5.9.1
psycopg2 2.9.3
ptyprocess 0.7.0
pure-eval 0.2.2
py 1.11.0
pycolmap 0.2.0
Pygments 2.12.0
pymeshlab 2022.2.post2
PyOpenGL 3.1.6
pyparsing 3.0.9
pyquaternion 0.9.9
pytest 7.1.3
python-dateutil 2.8.2
pytz 2022.1
pyvista 0.37.0
PyWavelets 1.3.0
PyYAML 6.0
pyzmq 25.0.0
rawpy 0.17.1
requests 2.28.1
Rtree 1.0.1
scikit-image 0.19.3
scikit-learn 1.1.2
scipy 1.10.0
scooby 0.7.0
setuptools 66.1.1
shapely 2.0.0
six 1.16.0
stack-data 0.3.0
sympy 1.10.1
threadpoolctl 3.1.0
tifffile 2022.8.8
tomli 2.0.1
tornado 6.2
tqdm 4.64.0
traitlets 5.3.0
trimesh 3.17.1
urllib3 1.26.13
vtk 9.2.2
wcwidth 0.2.5
Werkzeug 1.0.1
wheel 0.37.1
wslink 1.10.0
yarl 1.8.2
Using pip 22.3.1 from /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/pip (python 3.9)
WARNING: Implying --no-binary=:all: due to the presence of --build-option / --global-option / --install-option. Consider using --config-settings for more flexibility.
DEPRECATION: --install-option is deprecated because it forces pip to use the 'setup.py install' command which is itself deprecated. pip 23.1 will enforce this behaviour change. A possible replacement is to use --config-settings. Discussion can be found at https://github.com/pypa/pip/issues/11358
DEPRECATION: --no-binary currently disables reading from the cache of locally built wheels. In the future --no-binary will not influence the wheel cache. pip 23.1 will enforce this behaviour change. A possible replacement is to use the --no-cache-dir option. You can use the flag --use-feature=no-binary-enable-wheel-cache to test the upcoming behaviour. Discussion can be found at https://github.com/pypa/pip/issues/11453
Processing /Users/ KNM/Docs/flame/mesh
Running command python setup.py egg_info
[VERSION] read version is 0.4
/Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/setuptools/dist.py:285: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
warnings.warn(msg, SetuptoolsDeprecationWarning)
running egg_info
creating /private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-pip-egg-info-nrg423hw/psbody_mesh.egg-info
writing /private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-pip-egg-info-nrg423hw/psbody_mesh.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-pip-egg-info-nrg423hw/psbody_mesh.egg-info/dependency_links.txt
writing namespace_packages to /private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-pip-egg-info-nrg423hw/psbody_mesh.egg-info/namespace_packages.txt
writing requirements to /private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-pip-egg-info-nrg423hw/psbody_mesh.egg-info/requires.txt
writing top-level names to /private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-pip-egg-info-nrg423hw/psbody_mesh.egg-info/top_level.txt
writing manifest file '/private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-pip-egg-info-nrg423hw/psbody_mesh.egg-info/SOURCES.txt'
/Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
reading manifest file '/private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-pip-egg-info-nrg423hw/psbody_mesh.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
writing manifest file '/private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-pip-egg-info-nrg423hw/psbody_mesh.egg-info/SOURCES.txt'
Preparing metadata (setup.py) ... done
Installing collected packages: psbody-mesh
DEPRECATION: psbody-mesh is being installed using the legacy 'setup.py install' method, because the '--no-binary' option was enabled for it and this currently disables local wheel building for projects that don't have a 'pyproject.toml' file. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/11451
Running command Running setup.py install for psbody-mesh
[VERSION] read version is 0.4
/Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/setuptools/dist.py:285: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated, consider using implicit namespaces instead (PEP 420).
warnings.warn(msg, SetuptoolsDeprecationWarning)
running install
/Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
running build_ext
[CGAL] deflating cgal from "mesh/thirdparty/CGAL-4.7.tar.gz" to "/Users/ KNM/Docs/flame/mesh/build/temp.macosx-10.9-universal2-cpython-39"
building 'psbody.mesh.aabb_normals' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DNDEBUG=1 -DCGAL_NDEBUG=1 -DMESH_CGAL_AVOID_COMPILED_VERSION=1 -DCGAL_HAS_NO_THREADS=1 -DCGAL_NO_AUTOLINK_CGAL=1 -Imesh/src -I/Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/numpy/core/include -I/Users/ KNM/Docs/flame/mesh/build/temp.macosx-10.9-universal2-cpython-39/CGAL-4.7/include -I/usr/local/Cellar/boost/1.81.0/include/ -I/Users/ KNM/Docs/python_venv/include -I/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c mesh/src/aabb_normals.cpp -o build/temp.macosx-10.9-universal2-cpython-39/mesh/src/aabb_normals.o -O3
In file included from mesh/src/aabb_normals.cpp:4:
In file included from /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/numpy/core/include/numpy/arrayobject.h:5:
In file included from /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/numpy/core/include/numpy/ndarraytypes.h:1940:
/Users/ KNM/Docs/python_venv/lib/python3.9/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
In file included from mesh/src/aabb_normals.cpp:10:
In file included from mesh/src/AABB_n_tree.h:9:
In file included from /Users/ KNM/Docs/flame/mesh/build/temp.macosx-10.9-universal2-cpython-39/CGAL-4.7/include/CGAL/AABB_tree.h:26:
In file included from /Users/ KNM/Docs/flame/mesh/build/temp.macosx-10.9-universal2-cpython-39/CGAL-4.7/include/CGAL/internal/AABB_tree/AABB_traversal_traits.h:24:
In file included from /Users/ KNM/Docs/flame/mesh/build/temp.macosx-10.9-universal2-cpython-39/CGAL-4.7/include/CGAL/internal/AABB_tree/AABB_node.h:24:
In file included from /Users/ KNM/Docs/flame/mesh/build/temp.macosx-10.9-universal2-cpython-39/CGAL-4.7/include/CGAL/Profile_counter.h:53:
/Users/ KNM/Docs/flame/mesh/build/temp.macosx-10.9-universal2-cpython-39/CGAL-4.7/include/CGAL/config.h:265:4: error: Unknown endianness
# error Unknown endianness
^
In file included from mesh/src/aabb_normals.cpp:10:
In file included from mesh/src/AABB_n_tree.h:10:
In file included from /Users/ KNM/Docs/flame/mesh/build/temp.macosx-10.9-universal2-cpython-39/CGAL-4.7/include/CGAL/AABB_traits.h:31:
/usr/local/Cellar/boost/1.81.0/include/boost/bind.hpp:36:1: warning: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior. [-W#pragma-messages]
BOOST_PRAGMA_MESSAGE(
^
/usr/local/Cellar/boost/1.81.0/include/boost/config/pragma_message.hpp:24:34: note: expanded from macro 'BOOST_PRAGMA_MESSAGE'
# define BOOST_PRAGMA_MESSAGE(x) _Pragma(BOOST_STRINGIZE(message(x)))
^
<scratch space>:14:2: note: expanded from here
message("The practice of declaring the Bind placeholders (_1, _2, ...) " "in the global namespace is deprecated. Please use " "<boost/bind/bind.hpp> + using namespace boost::placeholders, " "or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.")
^
2 warnings and 1 error generated.
error: command '/usr/bin/gcc' failed with exit code 1
error: subprocess-exited-with-error
× Running setup.py install for psbody-mesh did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
full command: /Users/ KNM/Docs/python_venv/bin/python3 -u -c '
exec(compile('"'"''"'"''"'"'
# This is <pip-setuptools-caller> -- a caller that pip uses to run setup.py
#
# - It imports setuptools before invoking setup.py, to enable projects that directly
# import from `distutils.core` to work with newer packaging standards.
# - It provides a clear error message when setuptools is not installed.
# - It sets `sys.argv[0]` to the underlying `setup.py`, when invoking `setup.py` so
# setuptools doesn'"'"'t think the script is `-c`. This avoids the following warning:
# manifest_maker: standard file '"'"'-c'"'"' not found".
# - It generates a shim setup.py, for handling setup.cfg-only projects.
import os, sys, tokenize
try:
import setuptools
except ImportError as error:
print(
"ERROR: Can not execute `setup.py` since setuptools is not available in "
"the build environment.",
file=sys.stderr,
)
sys.exit(1)
__file__ = %r
sys.argv[0] = __file__
if os.path.exists(__file__):
filename = __file__
with tokenize.open(__file__) as f:
setup_py_code = f.read()
else:
filename = "<auto-generated setuptools caller>"
setup_py_code = "from setuptools import setup; setup()"
exec(compile(setup_py_code, filename, "exec"))
'"'"''"'"''"'"' % ('"'"'/Users/ KNM/Docs/flame/mesh/setup.py'"'"',), "<pip-setuptools-caller>", "exec"))' install --record /private/var/folders/kl/68r6m05168d_ygmpq7szq7280000gn/T/pip-record-uyk_rljj/install-record.txt --single-version-externally-managed --compile --install-headers /Users/ KNM/Docs/python_venv/include/site/python3.9/psbody-mesh --boost-location=/usr/local/Cellar/boost/1.81.0/include/
cwd: /Users/ KNM/Docs/flame/mesh/
Running setup.py install for psbody-mesh ... error
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> psbody-mesh
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
make: *** [all] Error 1
The text was updated successfully, but these errors were encountered:
I am getting the following error during "make all"
OS: Mac
Host: x64-osx - Intel
I tried to compile using clang as well but I get the same error.
The text was updated successfully, but these errors were encountered: