Уведомления

Группа в Telegram: @pythonsu

#1 Сен. 7, 2017 11:19:15

Aeroshka
Зарегистрирован: 2017-09-07
Сообщения: 1
Репутация: +  0  -
Профиль   Отправить e-mail  

ldap

Доброго дня! имеется пакет питона 2.7 . При попытке установки python-ldap через easy_install или pip, выскакивает ошибка:

 C:\Windows\system32>python -m easy_install python-ldap
Searching for python-ldap
Reading https://pypi.python.org/simple/python-ldap/
Downloading https://pypi.python.org/packages/03/3d/52b2624c98b5e599b1eeebe66db0f7f7257d429df994c75e15e79dbf4a1c/python-ldap-2.4.43.tar.gz#md5=acf67f597c7665a41c6b90ed5e89f3f2
Best match: python-ldap 2.4.43
Processing python-ldap-2.4.43.tar.gz
Writing c:\users\user\appdata\local\temp\easy_install-7rncih\python-ldap-2.4.43\setup.cfg
Running python-ldap-2.4.43\setup.py -q bdist_egg --dist-dir c:\users\user\appdata\local\temp\easy_install-7rncih\python-ldap-2.4.43\egg-dist-tmp-rbzhhe
defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
extra_compile_args:
extra_objects:
include_dirs: /usr/include /usr/include/sasl /usr/local/include /usr/local/include/sasl
library_dirs: /usr/lib /usr/lib64 /usr/local/lib /usr/local/lib64
libs: ldap_r
file Lib\ldap.py (for module ldap) not found
file Lib\ldap\controls.py (for module ldap.controls) not found
file Lib\ldap\extop.py (for module ldap.extop) not found
file Lib\ldap\schema.py (for module ldap.schema) not found
warning: no files found matching 'Makefile'
warning: no files found matching 'Modules\LICENSE'
file Lib\ldap.py (for module ldap) not found
file Lib\ldap\controls.py (for module ldap.controls) not found
file Lib\ldap\extop.py (for module ldap.extop) not found
file Lib\ldap\schema.py (for module ldap.schema) not found
file Lib\ldap.py (for module ldap) not found
file Lib\ldap\controls.py (for module ldap.controls) not found
file Lib\ldap\extop.py (for module ldap.extop) not found
file Lib\ldap\schema.py (for module ldap.schema) not found
LDAPObject.c
c:\users\user\appdata\local\temp\easy_install-7rncih\python-ldap-2.4.43\modules\errors.h(8) : fatal error C1083: Cannot open include file: 'lber.h': No such file or directory
error: Setup script exited with error: command 'C:\\Users\\user\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++ for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2

Где косяк подключения? при проверке функцией check пакета python-ldap пишет, что все ок.

Отредактировано Aeroshka (Сен. 7, 2017 13:10:09)

Офлайн

Board footer

Модераторировать

Powered by DjangoBB

Lo-Fi Version