Skip to content

Can't install pyhsmm on macOS 10.14.5 #1

@gavit-uc3m

Description

@gavit-uc3m

Hi all,

I am having some trouble when installing the pyhsmm library. I follow the instructions of the readme file and when I do python setup.py install I get:

running install
running bdist_egg
running egg_info
writing pyhsmm.egg-info/PKG-INFO
writing dependency_links to pyhsmm.egg-info/dependency_links.txt
writing requirements to pyhsmm.egg-info/requires.txt
writing top-level names to pyhsmm.egg-info/top_level.txt
reading manifest file 'pyhsmm.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c' under directory 'pyhsmm'
writing manifest file 'pyhsmm.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.7-x86_64/egg
running install_lib
running build_py
running build_ext
building 'pyhsmm.internals.hmm_messages_interface' extension
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/gavit/anaconda3/include -arch x86_64 -I/Users/gavit/anaconda3/include -arch x86_64 -Ideps/ -Ipyhsmm/internals -I/Users/gavit/anaconda3/include/python3.7m -I/Users/gavit/anaconda3/lib/python3.7/site-packages/numpy/core/include -c pyhsmm/internals/hmm_messages_interface.cpp -o build/temp.macosx-10.7-x86_64-3.7/pyhsmm/internals/hmm_messages_interface.o -std=c++11 -O3 -w -DNDEBUG -DHMM_TEMPS_ON_HEAP
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
g++ -bundle -undefined dynamic_lookup -L/Users/gavit/anaconda3/lib -arch x86_64 -L/Users/gavit/anaconda3/lib -arch x86_64 -arch x86_64 build/temp.macosx-10.7-x86_64-3.7/pyhsmm/internals/hmm_messages_interface.o -o build/lib.macosx-10.7-x86_64-3.7/pyhsmm/internals/hmm_messages_interface.cpython-37m-darwin.so
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9 [-Wdeprecated]
ld: library not found for -lstdc++
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: command 'g++' failed with exit status 1

I'm using macOS Mojave (version 10.14.5) with python 3.7 and clang:

Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix

Any idea of what is going wrong? Any help would be much appreciated.

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