当我在C:\ Install \ IBM_Docs \ DocsConversion \ DocsConversion \ installer上执行。\ install.bat,其中“install”文件是。
Traceback(most recent call last):
File "conversion/install.py", line 219, in <module>
if not pi.do();
File "C:\Install\IBM_Docs\DocsConversion\DocsConversion\installer\conversion\prepare_install.py", line 100 in do
if not self.verify_was();
File "C:\Install\IBM_Docs\DocsConversion\DocsConversion\installer\conversion\prepare_install.py", line 78, in verify_was
succ, ws_out = call_wsadmin(args)
File "C:\Install\IBM_Docs\DocsConversion\DocsConversion\installer\util\common.py", line 24, in call_wsadmin
stdout=ws_log, stderr=ws_log
File "C:\Python27\lib\subprocess.py", line 711, in ___init___
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 948. in _execute_child
startupinfo)
WindowsError: [Error 2] The System cannot find the file specified
我已经仔细检查过“install.bat”是否在目录中,而且是他们的。 什么似乎是问题?
谢谢!
答案 0 :(得分:0)
您可以尝试将python.exe的路径添加到Windows系统变量中。