用objgraph包来绘制引用关系时遇到的错误

来源:互联网 发布:自动校对时间软件 编辑:程序博客网 时间:2024/06/13 12:50

ImportError: No module named objgraph

No module named objgraph

#pip install xdot
#pip install objgraph

AttributeError: ‘module’ object has no attribute ‘F_GETFD’

no attribute 'F_GETFD'

Image renderer (dot) not found, not doing anything else

not found

xdot是graphviz(http://www.graphviz.org/)的一个命令,安装graphviz即可

#pip install graphviz
或者
#yum install graphviz
恢复正常
正常

0 0
原创粉丝点击