pyroot に問題があります。ROOT ヒストグラムをインポートしようとすると、常に同じ AttributeError が発生します。
>>> from ROOT import TH1F
AttributeError: type object 'TArray' has no attribute '__getitem__'
During handling of the above exception, another exception occurred:
SystemError: <built-in method mro of ROOT.PyRootType object at 0x328fb18> returned a result with an error set
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'TH1F'
動作しないrootpyも試しました。おそらく関連?
Python 3.5 をインストールし、gcc 5.2.0 で ROOT をクリーン インストールしました。を実行すると、Python モジュールが一覧表示されますroot-config --features
。
何か案は?それとも解決策?