2013-06-26 192 views
0

我正在測試我的Python腳本funkloadfunkload基準測試失敗

我使用這個命令:

fl-run-bench -c 1:2 test_RecuperationPhotos.py RecuperationPhotos.test_RecPhotos 

我有這樣的錯誤:

Traceback (most recent call last): 
    File "/usr/local/bin/fl-run-bench", line 8, in <module> 
    load_entry_point('collective.funkload==0.3', 'console_scripts', 'fl-run-bench')() 
    File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 343, in load_entry_point 
    File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 2354, in load_entry_point 
    File "build/bdist.macosx-10.8-intel/egg/pkg_resources.py", line 2060, in load 
    File "/Library/Python/2.7/site-packages/collective/funkload/bench.py", line 8, in <module> 
    from zope.testing.testrunner import runner 
ImportError: cannot import name runner 

我不明白是什麼錯誤意味着。

回答

0

我認爲你有安裝funkload的情況。上個月我有同樣的問題。

+0

是的,我今天檢測到這個解決方案, 感謝您的意見 –