简体   繁体   English

Windows PowerShell模块中的错误运行命令

[英]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. 当我在“安装”文件所在的C:\\ Install \\ IBM_Docs \\ DocsConversion \\ DocsConversion \\ installer上执行。\\ install.bat时。

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. 我已经仔细检查过“ install.bat”是否在目录中,是否也存在。 What seems to be the problem? 似乎是什么问题?

Thanks! 谢谢!

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用Windows命令提示符或PowerShell在Spyder中运行脚本 - Running scripts in Spyder using windows Command Prompt or PowerShell 当我在 windows powershell 中运行命令时,“访问被拒绝” - 'Access is denied' while i am running a command in windows powershell 从Windows 7命令提示符运行.py时出错 - Error running .py from Windows 7 command prompt 运行COPY命令的Pickling Error:Windows上的CQLShell - Pickling Error running COPY command: CQLShell on Windows 从python脚本运行powershell命令时出现系统错误 - System Error on running a powershell command from a python script 在 Windows 中从命令行运行稳定扩散时出错 - Error Running Stable Diffusion from the command line in Windows 在Windows XP下运行Python脚本(模块) - Running Python scripts(modules) under Windows XP 从Windows Powershell运行Python程序时出现“非ASCII字符”错误 - “Non-ASCII character” error when running Python program from Windows Powershell 从Python运行powershell脚本,无需在每次运行时重新导入模块 - Running powershell scripts from Python without reimporting modules on every run 从命令行运行Python文件不会加载模块 - Running Python file from command line does not load modules
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM