status = prob.solve() # Solve with the default solver cbc
yields error on my raspberry pi :
OSError: [Errno 8] Exec format error: '/home/pi/.local/lib/python3.7/site-packages/pulp/apis/../solverdir/cbc/linux/32/cbc'
Fixed the issue by replacing with GLPK :
status = prob.solve(GLPK_CMD(msg = 0))
status = prob.solve() # Solve with the default solver cbc yields error on my raspberry pi : OSError: [Errno 8] Exec format error: '/home/pi/.local/lib/python3.7/site-packages/pulp/apis/../solverdir/cbc/linux/32/cbc'
Fixed the issue by replacing with GLPK : status = prob.solve(GLPK_CMD(msg = 0))