simpleldap导入缺少模块错误

时间:2014-08-14 17:07:48

标签: python import module ldap

当我尝试使用pip安装ldap时,以下是trace的输出。

 [root@reports-hammer-local tests]# pip install simpleldap

 Requirement already satisfied (use --upgrade to upgrade): simpleldap in     /usr/local/lib/python2.7/site-packages

 Requirement already satisfied (use --upgrade to upgrade): python-ldap in  /usr/local/lib/python2.7/site-packages (from simpleldap)

 Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/site-packages/setuptools-1.4.2-py2.7.egg (from python-ldap->simpleldap)

 Cleaning up...

 [root@reports-hammer-local tests]# python tests.py 

 Traceback (most recent call last):

 File "tests.py", line 7, in `

 import simpleldap`

 ImportError: No module named simpleldap

由于缺少模块问题,我无法运行测试。你可以请我解决这个问题。

0 个答案:

没有答案