cheind / py-motmetrics

:bar_chart: Benchmark multiple object trackers (MOT) in Python
MIT License
1.37k stars 259 forks source link

"xmltodict" is missing in file "environment.yml" #99

Closed ocanevet closed 4 years ago

ocanevet commented 4 years ago

When using the code only in the conda environment, running python -m motmetrics.apps.eval_motchallenge --help yields

Traceback (most recent call last):
  File "[...]/envs/motmetrics-env/lib/python3.6/runpy.py", line 183, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "[...]/envs/motmetrics-env/lib/python3.6/runpy.py", line 109, in _get_module_details
    __import__(pkg_name)
  File "[...]/py-motmetrics/motmetrics/__init__.py", line 28, in <module>
    from motmetrics import io
  File "[...]/py-motmetrics/motmetrics/io.py", line 20, in <module>
    import xmltodict
ModuleNotFoundError: No module named 'xmltodict'
cheind commented 4 years ago

Ok thanks. I think, we haven't maintained the environment file. Maybe we should remove it infavor of the more up to date requirements.txt