numpy 1.6.1和python 2.7以及ropemacs崩溃代码完成
问题描述:
所以现在我更新了python从2.7到2.7.2我不能再在emacs中调用绳索代码协助。numpy 1.6.1和python 2.7以及ropemacs崩溃代码完成
import numpy as np
x = np.arange(0, 5, 0.1)
我有典型的绳子0.9.3,ropemode-0.1-RC2,做M-当/或MX绳代码帮助我得到了下面的跟踪pymacs 0.24-β2,ropemacs 0.6
在numpy的命名空间,我没有在Python 2.7得到: (同成交为SciPy的;矛盾的是,matplotlib仍然有效)
pymacs-report-error: Python: Traceback (most recent call last):
<abridged>
File "c:\devel\Python\2.7-bin\lib\site-packages\rope\base\ast.py", line 30, in walk
return method(node)
File "c:\devel\Python\2.7-bin\lib\site-packages\rope\base\evaluate.py", line 166, in _Call
if '__new__' in pyobject:
File "c:\devel\Python\2.7-bin\lib\site-packages\rope\base\pyobjects.py", line 32, in __contains__
return key in self.get_attributes()
File "c:\devel\Python\2.7-bin\lib\site-packages\rope\base\utils.py", line 10, in _wrapper
setattr(self, name, func(self, *args, **kwds))
File "c:\devel\Python\2.7-bin\lib\site-packages\rope\base\builtins.py", line 81, in get_attributes
result = _object_attributes(self.builtin, self)
File "c:\devel\Python\2.7-bin\lib\site-packages\rope\base\builtins.py", line 123, in _object_attributes
child = getattr(obj, name)
AttributeError: __abstractmethods__
将其作为附件发布。这解决了它!谢谢! – octi 2012-02-21 19:21:46