Error occurred using new_vertex_property
There is a problem when I try using new_vertex_property, and also new_edge_property.
Following are the errors:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/disk/bigdata-01/users/hadoop/myappenv/python/lib/python2.7/site-packages/graph_tool/__init__.py", line 2181, in new_vertex_property
libcore.any()),
Boost.Python.ArgumentError: Python argument types in
graph_tool.libgraph_tool_core.new_vertex_property(str, vertex_index_map, any)
did not match C++ signature:
new_vertex_property(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, boost::typed_identity_property_map<unsigned long>, boost::any)
Could someone help me fixing this problem? Thank you!