开发者

python error when I use different systems!

When I use my system, there is no error in my python codes. When I use another system I get开发者_如何学JAVA this error:(both systems have same version of python)

/usr/lib/pymodules/python2.6/matplotlib/numerix/__init__.py:18: DeprecationWarning: 
**********************************************************
matplotlib.numerix and all its subpackages are deprecated.
They will be removed soon.  Please use numpy instead.
**********************************************************

  warnings.warn(msg, DeprecationWarning)
/usr/lib/pymodules/python2.6/networkx/generators/hybrid.py:16: DeprecationWarning: the sets module is deprecated
  import sets
Traceback (most recent call last):
  File "./check_2.py", line 79, in <module>
    G.add_edge(u,v,times=[t])
TypeError: add_edge() got an unexpected keyword argument 'times'


There's a hint.

matplotlib.numerix and all its subpackages are deprecated.
They will be removed soon.  Please use numpy instead.

The system that gets this error has old packages installed.

While the "version of python" may be the same, the set of installed packages is different.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜