Skip to content

Install not possible on OSX Monterey 12.6 #71

@MarkusSvedberg

Description

@MarkusSvedberg

Hello!

I was delighted to find your package today, but was unable to install it. The command

pip install --extra-index-url https://rospypi.github.io/simple/ tf2_ros

Does not install properly, with the following message:

`Running setup.py install for tf2-py ... error
error: subprocess-exited-with-error

× Running setup.py install for tf2-py did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
running install
running build
running build_py
creating build
creating build/lib.macosx-10.9-universal2-3.10
creating build/lib.macosx-10.9-universal2-3.10/tf2_py
copying geometry2/tf2_py/src/tf2_py/init.py -> build/lib.macosx-10.9-universal2-3.10/tf2_py
running build_ext
building '_tf2' extension
creating build/temp.macosx-10.9-universal2-3.10
creating build/temp.macosx-10.9-universal2-3.10/geometry2
creating build/temp.macosx-10.9-universal2-3.10/geometry2/tf2
creating build/temp.macosx-10.9-universal2-3.10/geometry2/tf2/src
creating build/temp.macosx-10.9-universal2-3.10/geometry2/tf2_py
creating build/temp.macosx-10.9-universal2-3.10/geometry2/tf2_py/src
creating build/temp.macosx-10.9-universal2-3.10/roscpp_core
creating build/temp.macosx-10.9-universal2-3.10/roscpp_core/rostime
creating build/temp.macosx-10.9-universal2-3.10/roscpp_core/rostime/src
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -arch arm64 -arch x86_64 -g -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_ERROR_CODE_HEADER_ONLY -Igeometry2/tf2/include -Iroscpp_core/cpp_common/include -Iroscpp_core/rostime/include -Istubs/include -I/Users/markus/Documents/Exjobb/Python/USV_Simulering_1/usv_sim_venv/include -I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10 -c geometry2/tf2/src/buffer_core.cpp -o build/temp.macosx-10.9-universal2-3.10/geometry2/tf2/src/buffer_core.o -std=c++11
In file included from geometry2/tf2/src/buffer_core.cpp:32:
In file included from geometry2/tf2/include/tf2/buffer_core.h:35:
In file included from geometry2/tf2/include/tf2/transform_storage.h:39:
roscpp_core/rostime/include/ros/time.h:58:10: fatal error: 'boost/math/special_functions/round.hpp' file not found
#include <boost/math/special_functions/round.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/local/opt/llvm/bin/clang' 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.
╰─> tf2-py

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.`

I have reinstalled boost but that does not resolve the issue.

Best,
Markus

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions