OSX:pyosmium设置错误

时间:2016-02-15 13:08:22

标签: python openstreetmap osmium

我在Python上运行Pyosmium的设置OSX 10.11脚本,Python版本为2.7:

python setup.py install
running install
running build  
running build_py
running build_ext
building 'osmium._osmium' extension
gcc -fno-strict-aliasing -I/Users/stephen/anaconda/include -arch x86_64 
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/usr/include 
-I../libosmium/include -I/Users/stephen/anaconda/include/python2.7 -c 
lib/osmium.cc -o build/temp.macosx-10.5-x86_64-2.7/lib/osmium.o -std=c++0x 
-stdlib=libstdc++ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
In file included from lib/osmium.cc:1:
../libosmium/include/osmium/visitor.hpp:36:10: fatal error: 'type_traits' file not found

我尽可能使用Brew获得大多数可用的依赖项。并添加了必要的目录以支持开发。

虽然我很清楚我在这里处理的水平我并不熟悉。

我现在的猜测是被称为gcc的编译器,如果这是任何想法将非常感激!

谢谢你, 斯蒂芬。

0 个答案:

没有答案