問題
Traceback (most recent call last):
File "rtmp.py", line 26, in <module>
pipe = subprocess.Popen(command, shell=False, stdin=subprocess.PIPE)
File "D:\software\developUtils\python\python3.7\lib\subprocess.py", line 756, in __init__
restore_signals, start_new_session)
File "D:\software\developUtils\python\python3.7\lib\subprocess.py", line 1155, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
解決
- libフォルダーでsubprocess.pyを見つけます
- クラスPopen(object)を検索します。
- __init__のshell = Falseをshell = Trueに変更します