Python Forum
Python Error in subprocess.py
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python Error in subprocess.py
#1
Hello,

I got problem when running command using python. the command purpose is to restore db (RDS) in AWS.
Here are the problem:
Error:
File "/home/rdianton/.local/lib/python2.7/site-packages/python_terraform/__init__.py", line 179, in init return self.cmd('init', *args, **options) File "/home/rdianton/.local/lib/python2.7/site-packages/python_terraform/__init__.py", line 292, in cmd cwd=working_folder, env=environ_vars) File "/usr/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory
I am new in this forum, please advice if this post is not in the right place.

Thanks in advance.
Reply


Messages In This Thread
Python Error in subprocess.py - by roydianton90 - Dec-14-2018, 10:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error when running mktorrent subprocess command pythonnewbie138 4 3,988 Sep-16-2020, 01:55 AM
Last Post: pythonnewbie138
  python loop in subprocess vinothkumargomu 6 3,317 Jul-06-2020, 12:02 PM
Last Post: vinothkumargomu
  Getting error from subprocess module swechsler 2 4,791 Sep-16-2019, 11:04 PM
Last Post: snippsat
  OS command via python subprocess module alinaveed786 21 11,237 Oct-23-2018, 05:40 AM
Last Post: alinaveed786
  subprocess error : The system cannot find the file specified evilcode1 0 10,778 Oct-03-2018, 08:04 AM
Last Post: evilcode1
  subprocess in thread python to check reachability anna 3 3,528 Sep-05-2018, 04:01 PM
Last Post: woooee
  Using Subprocess.Popen to start another python script running in background on Window johnb546 0 13,753 Jun-01-2018, 01:57 PM
Last Post: johnb546
  proc communicate not exiting on python subprocess timeout leoonardoo 0 3,845 Sep-13-2017, 09:54 AM
Last Post: leoonardoo
  I have problem on Communication between C++ and Python using subprocess Module hlfan1234567 0 4,288 Jul-09-2017, 04:34 PM
Last Post: hlfan1234567
  trying out subprocess in python sblu23 3 4,108 Jul-05-2017, 09:18 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020