[英]ImportError: No module named foxhound.utils.vis
I am using Ubuntu, and python 2.7. 我正在使用Ubuntu和python 2.7。 Is there anybody help me overcome the following error?
有谁可以帮助我克服以下错误?
ImportError: No module named foxhound.utils.vis
ImportError:没有名为foxhound.utils.vis的模块
which is caused by this line: 这是由以下原因引起的:
from foxhound.utils.vis import grayscale_grid_vis, unit_scale
I also did: 我也做了:
export PYTHONPATH="/home/jerome/bin/django-1.1/lib/python2.6/site-packages:$PYTHONPATH"
but no help!! 但没有帮助!
If you have already foxhound
installed you should use: 如果您已经安装了
foxhound
,则应使用:
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). 因为
vis
模块位于foxhound
软件包中,而不位于foxhound.utils
( utils
也是模块,而不是软件包)。 See the foxhound
structure here . 在这里查看
foxhound
结构。
Edit 编辑
To install foxhound
: 安装
foxhound
:
There run 那里跑
python setup.py install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.