when i read requests code, according test_requests.py , i using envoy in ipython, i get a error.
In [2]: envoy.connect('guncorn httpbin:app --bind=0.0.0.0:8080')
---------------------------------------------------------------------------
OSError Traceback (most recent call last)
<ipython-input-2-3bd699ccabe1> in <module>()
----> 1 envoy.connect('guncorn httpbin:app --bind=0.0.0.0:8080')
/Users/guo/Code/repository/02.Learn/00.python_learn/chai_requests/venv/lib/python2.7/site-packages/envoy/core.pyc in connect(command, data, env, cwd)
249 stderr=subprocess.PIPE,
250 bufsize=0,
--> 251 cwd=cwd,
252 )
253
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.pyc in __init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags)
707 p2cread, p2cwrite,
708 c2pread, c2pwrite,
--> 709 errread, errwrite)
710 except Exception:
711 # Preserve original exception in case os.close raises.
/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.pyc in _execute_child(self, args, executable, preexec_fn, close_fds, cwd, env, universal_newlines, startupinfo, creationflags, shell, to_close, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite)
1324 raise
1325 child_exception = pickle.loads(data)
-> 1326 raise child_exception
1327
1328
OSError: [Errno 2] No such file or directory