|cit restart| doesn't ship with its dependencies? |
|
Issue description
I only use cit occasionally. Seems I'm missing a dep, which is surprising to me because I thought cit was set up to run inside a virtualenv or vpython environment.
I'll go ahead and install the missing dep but filing anyway.
$ cit restart chromeos
Traceback (most recent call last):
File "/usr/local/google/home/akeshet/.chrome-infra/infra/run.py", line 29, in <module>
sys.exit(run_helper.run_py_main(sys.argv[1:], RUNPY_PATH, ENV_PATH, 'infra'))
File "/usr/local/google/home/akeshet/.chrome-infra/infra/bootstrap/run_helper.py", line 123, in run_py_main
runpy.run_module(args[0], run_name='__main__', alter_sys=True)
File "/usr/lib/python2.7/runpy.py", line 188, in run_module
fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 82, in _run_module_code
mod_name, mod_fname, mod_loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/google/home/akeshet/.chrome-infra/infra/infra/tools/restart/__main__.py", line 9, in <module>
import datetime
ImportError: No module named datetime
,
Mar 28 2018
Actually, `pip install datetime` did not resolve this as I expected.
,
Mar 28 2018
deleting .chrome-infra/ resolved this. |
|
►
Sign in to add a comment |
|
Comment 1 by jbudorick@chromium.org
, Mar 28 2018