我正在尝试按照https://github.com/GoogleCloudPlatform/PerfKitBenchmarker中的说明在GCP上运行谷歌的perfkit性能工具。获得GCP帐户和项目ID后,当我尝试从我的个人计算机运行perfkit时,我遇到以下错误:
Generating temporary directory at /tmp/perfkitbenchmarker\run_4c0ee849
Traceback (most recent call last):
File "pkb.py", line 21, in <module>
sys.exit(Main())
File "C:\Users\sony\Desktop\PerfKitBenchmarker-0.11.1\perfkitbenchmarker\pkb.py", line 358, in Main
return RunBenchmarks()
File "C:\Users\sony\Desktop\PerfKitBenchmarker-0.11.1\perfkitbenchmarker\pkb.py", line 291, in RunBenchmarks
ConfigureLogging()
File "C:\Users\sony\Desktop\PerfKitBenchmarker-0.11.1\perfkitbenchmarker\pkb.py", line 167, in ConfigureLogging
vm_util.GenTempDir()
File "C:\Users\sony\Desktop\PerfKitBenchmarker-0.11.1\perfkitbenchmarker\vm_util.py", line 88, in GenTempDir
create_process = subprocess.Popen(create_cmd)
File "C:\Python27\lib\subprocess.py", line 672, in __init__
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 882, in _execute_child
startupinfo)
WindowsError: [Error 2] The system cannot find the file specified
创建临时目录似乎存在问题,但是我应该去创建这个目录吗? 我应该如何从我的个人计算机上运行此工具? 我试图运行perfkit的个人机器配置: 操作系统:Windows7; Python的:2.7 注意:我正在以管理员模式运行命令。