我用NetworkX敦促python但是当我打开控制台并运行
时我遇到了问题adrian@adrian-G551JW:~$ python
Python 2.7.12 (default, Jul 1 2016, 15:12:24)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import networkx as nx
>>> print dir(nx)
['DiGraph', 'Graph', 'GraphMLReader', 'GraphMLWriter' ... ]
但是当我更改目录示例
时adrian@adrian-G551JW:~/Documentos/python$ python
Python 2.7.12 (default, Jul 1 2016, 15:12:24)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import networkx as nx
>>> print dir(nx)
['__builtins__', '__doc__', '__file__', '__name__', '__package__']
networkx没有任何套餐。 ¿为什么?