python ImportError没有名为的模块

时间:2015-03-08 22:22:05

标签: python import ubuntu-14.04

我正在尝试安装一个名为louvain的软件包,我会安装它并安装它: 我检查了它,它已经在dis-packages中了

Requirement already satisfied (use --upgrade to upgrade): louvain in /usr/local/lib/python2.7/dist-packages
Requirement already satisfied (use --upgrade to upgrade): python-igraph>=0.7.0 in /usr/local/lib/python2.7/dist-packages (from louvain)

但是当我尝试importpython时,我收到此错误:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named louvain

我应该如何从dist-packages导入包?

提前谢谢

0 个答案:

没有答案