Monday, September 19, 2011

Help with python omni completion with vim

Hi All,

I tried to use module gurobipy with python in vim. But the completion doesn't work. So I tried

:python import gurobipy

in vim and get error information as below:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/gurobipy/__init__.py", line 1, in <module>
    from gurobipy import *
ImportError: /usr/lib/python2.7/site-packages/gurobipy/gurobipy.so: undefined symbol: PyExc_BaseException

Could anyone tell me how to solve this?

Thanks in advance

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: