When I say that works, I mean: ``` $ ./pants run s...
# general
e
When I say that works, I mean:
Copy code
$ ./pants run scripts/:
...
09:42:06 00:00       [run]
Traceback (most recent call last):
  File "/home/jsirois/dev/prometheus/snmp_exporter/.pants.d/python-setup/chroots/52fb1762d35fa0d6b32ba568d467ffc40fb014d2/.bootstrap/_pex/pex.py", line 317, in execute
    self._wrap_coverage(self._wrap_profiling, self._execute)
  File "/home/jsirois/dev/prometheus/snmp_exporter/.pants.d/python-setup/chroots/52fb1762d35fa0d6b32ba568d467ffc40fb014d2/.bootstrap/_pex/pex.py", line 250, in _wrap_coverage
    runner(*args)
  File "/home/jsirois/dev/prometheus/snmp_exporter/.pants.d/python-setup/chroots/52fb1762d35fa0d6b32ba568d467ffc40fb014d2/.bootstrap/_pex/pex.py", line 282, in _wrap_profiling
    runner(*args)
  File "/home/jsirois/dev/prometheus/snmp_exporter/.pants.d/python-setup/chroots/52fb1762d35fa0d6b32ba568d467ffc40fb014d2/.bootstrap/_pex/pex.py", line 360, in _execute
    return self.execute_entry(self._pex_info.entry_point)
  File "/home/jsirois/dev/prometheus/snmp_exporter/.pants.d/python-setup/chroots/52fb1762d35fa0d6b32ba568d467ffc40fb014d2/.bootstrap/_pex/pex.py", line 418, in execute_entry
    runner(entry_point)
  File "/home/jsirois/dev/prometheus/snmp_exporter/.pants.d/python-setup/chroots/52fb1762d35fa0d6b32ba568d467ffc40fb014d2/.bootstrap/_pex/pex.py", line 423, in execute_module
    runpy.run_module(module_name, run_name='__main__')
  File "/home/jsirois/.pyenv/versions/2.7.11/lib/python2.7/runpy.py", line 180, in run_module
    fname, loader, pkg_name)
  File "/home/jsirois/.pyenv/versions/2.7.11/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/home/jsirois/dev/prometheus/snmp_exporter/.pants.d/python-setup/chroots/52fb1762d35fa0d6b32ba568d467ffc40fb014d2/snmpexporter.py", line 3, in <module>
    from snmp_exporter.http import start_http_server
  File "/home/jsirois/dev/prometheus/snmp_exporter/.pants.d/python-setup/chroots/52fb1762d35fa0d6b32ba568d467ffc40fb014d2/snmp_exporter/http.py", line 7, in <module>
    import yaml
ImportError: No module named yaml

FAILURE: /home/jsirois/.pyenv/versions/2.7.11/envs/awscli/bin/python2.7 snmpexporter  ... exited non-zero (1)


09:42:06 00:00   [complete]
               FAILURE