Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


haakon Guttormsen
haakon Guttormsen
2,157 Points

installation of 'ortools.constraint_solver'

Hello. I'm working on a homework assignment where I am supposed to implement an algorithm for the optimization problem "traveling salesperson (TSP)" The algorithm only works if I can use the following import lines:

from ortools.constraint_solver import pywrapcp
from ortools.constraint_solver import routing_enums_pb2

So I guess this means I have to install these packages. Does anyone know to install this? I use the code-editor 'atom'. thanks in advance!