简体   繁体   中英

Error Running command in Windows PowerShell Modules

When i execute .\\install.bat on C:\\Install\\IBM_Docs\\DocsConversion\\DocsConversion\\installer where the "install" file is.

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

I've already double check if the "install.bat" is on the directory and it is their. What seems to be the problem?

Thanks!

您可以尝试将python.exe的路径添加到Windows系统变量。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM