[New-bugs-announce] [issue43209] system cannot find the file specified in subprocess.py

robert j richardson report at bugs.python.org
Fri Feb 12 14:33:14 EST 2021


New submission from robert j richardson <robert_j_richardson at yahoo.com>:

When using >python synth.py in the directory google-api-java-client-services-master
python returns:
synthtool > Cloning https://github.com/googleapis/discovery-artifact-manager.git.
synthtool > Cleaning output directory.
Traceback (most recent call last):
  File "D:\google-api-java-client-services-master\synth.py", line 47, in <module>
    shell.run("rm -rf .cache".split(), cwd=repository)
  File "C:\Users\rober\AppData\Local\Programs\Python\Python39\lib\site-packages\synthtool\shell.py", line 27, in run
    return subprocess.run(
  File "C:\Users\rober\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 501, in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\rober\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 947, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\rober\AppData\Local\Programs\Python\Python39\lib\subprocess.py", line 1416, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

----------
components: Windows
messages: 386871
nosy: paul.moore, robertjrichardson, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: system cannot find the file specified in subprocess.py
type: behavior
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43209>
_______________________________________


More information about the New-bugs-announce mailing list