nengo/nengo-dl

ModuleNotFoundError: No module named 'packaging'

arvoelke opened this issue · 3 comments

It looks like since commit bf88774 in PR #149, I am getting

  File "/home/arvoelke/git/nengo-dl/nengo_dl/__init__.py", line 49, in <module>
    from nengo_dl import (
  File "/home/arvoelke/git/nengo-dl/nengo_dl/op_builders.py", line 23, in <module>
    from nengo_dl import utils
  File "/home/arvoelke/git/nengo-dl/nengo_dl/utils.py", line 14, in <module>
    from packaging import version
ModuleNotFoundError: No module named 'packaging'

on import. I'm installing the current master branch (pip install -e .) which doesn't appear to pick up the packaging library. Looking at a recent build, it seems to be getting picked upstream by one of the test dependencies?

Hmm it definitely used to be pulled in on any installation, but maybe something changed in the upstream dependencies so that is no longer the case. Will just add it as a direct dependency in any case.

hunse commented

Yeah, I think it's typically included with one of setuptools/distutils/pip, but I think I ran into one machine once where it wasn't installed.

This was fixed in #159