python 2.7 - cannot use ortools from Google -
i installed or tools onto macbook pro running mavericks (10.9.5) per these directions
i did error described here: can't install or-tools on mac 10.10
and followed recommendation using easy_install. yes did error describe seemed or tools installed properly. issuing
import ortools at python prompt did not generate error.
then went try 1 of examples google provided (see first link above) , error:
traceback (most recent call last): file "examples/golomb8.py", line 26, in <module> google.apputils import app importerror: no module named google.apputils obviously missed something. can enlighten me??
your issue here google.apputils module separate ortools , needs installed separately. can check ortools installed running other examples in google provided repo such python examples/map.py , or example in repo , ensuring python optimize.py results in expected nba lineup (such original reason looking ortools :-)).
Comments
Post a Comment