2013-06-26 250 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

是的,我今天检测到这个解决方案, 感谢您的意见 –