PuLP Linux Exec格式错误

时间:2014-05-14 17:29:01

标签: python linux python-2.7 ubuntu

尝试使用PuLPGeany一起运行Python 2.7时,出现以下错误。我有什么想法可以解决它吗? 在ubuntu上使用samsung chromebook

追踪(最近一次呼叫最后一次):

 File "Assign1Q2.py", line 104, in <module>
    prob.solve()
  File "/usr/local/lib/python2.7/dist-packages/PuLP-1.5.6-py2.7.egg/pulp/pulp.py", line 1619, in solve
    status = solver.actualSolve(self, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/PuLP-1.5.6-py2.7.egg/pulp/solvers.py", line 1283, in actualSolve
    return self.solve_CBC(lp, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/PuLP-1.5.6-py2.7.egg/pulp/solvers.py", line 1341, in solve_CBC
    stderr = pipe)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 8] Exec format error


------------------
(program exited with code: 1)
Press return to continue

0 个答案:

没有答案