2012-02-21 6 views
1

これで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) 

私は、ropemode-0.1-RC2を典型的なロープ0.9.3を持って、pymacs 0.24-β2、ropemacs 0.6

M- /またはのMxロープコードアシスト行っているとき、私は、次のトレースを取得私のpython 2.7で取得していないnumpyの名前空間に:;:https://bitbucket.org/agr/rope/issue/15/crashes-with-attributeerror(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__ 
+0

anserとして投稿してください。これで解決します!ありがとう! – octi

答えて