Skip to content

[BUG] Unable to install stochtree, via pip, on a macOS system #362

@jdtuck

Description

@jdtuck

Running

pip install stochtree

on a Mac and getting this error during the build (snippet).

/usr/bin/c++ -DEIGEN_DONT_PARALLELIZE -DEIGEN_MPL2_ONLY -I/private/var/folders/f1/72rqtvz96rx2jg5jc16s70q0002lrh/T/pip-install-h00tgb5b/stochtree_b028f206a0804797bf2eb8ec336704c7/include -I/private/var/folders/f1/72rqtvz96rx2jg5jc16s70q0002lrh/T/pip-install-h00tgb5b/stochtree_b028f206a0804797bf2eb8ec336704c7/deps/boost_math/include -I/private/var/folders/f1/72rqtvz96rx2jg5jc16s70q0002lrh/T/pip-install-h00tgb5b/stochtree_b028f206a0804797bf2eb8ec336704c7/deps/eigen -I/private/var/folders/f1/72rqtvz96rx2jg5jc16s70q0002lrh/T/pip-install-h00tgb5b/stochtree_b028f206a0804797bf2eb8ec336704c7/deps/fast_double_parser/include -I/private/var/folders/f1/72rqtvz96rx2jg5jc16s70q0002lrh/T/pip-install-h00tgb5b/stochtree_b028f206a0804797bf2eb8ec336704c7/deps/fmt/include -pthread -w -g -O3 -Wno-unknown-pragmas -Wno-unused-private-field -fPIC -funroll-loops -Xclang -fopenmp -I/opt/homebrew/opt/libomp/include -O3 -DNDEBUG -std=gnu++17 -arch arm64 -MD -MT CMakeFiles/stochtree_objs.dir/src/io.cpp.o -MF CMakeFiles/stochtree_objs.dir/src/io.cpp.o.d -o CMakeFiles/stochtree_objs.dir/src/io.cpp.o -c /private/var/folders/f1/72rqtvz96rx2jg5jc16s70q0002lrh/T/pip-install-h00tgb5b/stochtree_b028f206a0804797bf2eb8ec336704c7/src/io.cpp
      In file included from /private/var/folders/f1/72rqtvz96rx2jg5jc16s70q0002lrh/T/pip-install-h00tgb5b/stochtree_b028f206a0804797bf2eb8ec336704c7/src/io.cpp:7:
      In file included from /private/var/folders/f1/72rqtvz96rx2jg5jc16s70q0002lrh/T/pip-install-h00tgb5b/stochtree_b028f206a0804797bf2eb8ec336704c7/include/stochtree/io.h:22:
      /private/var/folders/f1/72rqtvz96rx2jg5jc16s70q0002lrh/T/pip-install-h00tgb5b/stochtree_b028f206a0804797bf2eb8ec336704c7/include/stochtree/meta.h:20:10: fatal error: 'boost/math/constants/constants.hpp' file not found

It can't find boot/math/constants.hpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions