ImportError: No module named foxhound.utils.vis

前端 未结 1 562
无人共我
无人共我 2021-01-24 13:35

I am using Ubuntu, and python 2.7. Is there anybody help me overcome the following error?

ImportError: No module named foxhound.utils.vis

相关标签:
1条回答
  • 2021-01-24 14:09

    If you have already foxhound installed you should use:

    from foxhound.vis import grayscale_grid_vis, unit_scale
    

    because vis module is in the foxhound package and not in foxhound.utils (utils is also a module, not a package). See the foxhound structure here.

    Edit

    To install foxhound:

    1. Download it and unzip it - download link.
    2. In the terminal navigate into the unzipped folder (Foxhound-master).
    3. There run

      python setup.py install

    More info on installing python modules.

    0 讨论(0)
提交回复
热议问题