From 8a55ecdbc5839223785d10f677ebc2c10c79f7df Mon Sep 17 00:00:00 2001 From: Stuart Mitchell Date: Mon, 16 Mar 2015 23:35:19 +1300 Subject: [PATCH] more debug --- src/pulp/solvers.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/pulp/solvers.py b/src/pulp/solvers.py index cc20698..d1cdf83 100644 --- a/src/pulp/solvers.py +++ b/src/pulp/solvers.py @@ -322,6 +322,9 @@ class LpSolver_CMD(LpSolver): """Checks that the solver command is executable, And returns the actual path to it.""" + print command + print 'os.path.exists(command)=', os.path.exists(command) + print 'os.access(command, os.X_OK)=', os.access(command, os.X_OK) if os.path.isabs(command): if os.path.exists(command) and os.access(command, os.X_OK): return command