Python funkload基准测试失败
我正在用Python funkload基准测试失败,python,testing,funkload,Python,Testing,Funkload,我正在用funkload测试我的Python脚本 我使用以下命令: 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('colle
funkload
测试我的Python脚本
我使用以下命令:
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
回溯(最近一次呼叫最后一次):
文件“/usr/local/bin/fl运行台”,第8行,在
加载入口点('collective.funkload==0.3','console\u scripts','fl run bench')()
文件“build/bdist.macosx-10.8-intel/egg/pkg_resources.py”,第343行,在加载入口点
文件“build/bdist.macosx-10.8-intel/egg/pkg_resources.py”,第2354行,在加载入口点
文件“build/bdist.macosx-10.8-intel/egg/pkg_resources.py”,第2060行,已加载
文件“/Library/Python/2.7/site packages/collective/funkload/bench.py”,第8行,在
从zope.testing.testrunner导入runner
ImportError:无法导入名称运行程序
我无法理解错误的含义。我认为您在安装funkload时遇到了问题。我上个月也有同样的问题