Всем доброго времени суток.
Подскажите, хочу установить пакет в python3 на машину, которая не имеет доступ в сеть. Скачал
архив, распаковал.
Выполняю:
$ pip3 install --no-index --find-links=/home/user/ldap3-2.5.1/ ldap3
Ignoring indexes: https://pypi.python.org/simple/
Requirement already satisfied (use --upgrade to upgrade): ldap3 in /usr/local/lib/python3.4/dist-packages/ldap3-2.5.1-py3.4.egg
Requirement already satisfied (use --upgrade to upgrade): pyasn1>=0.1.8 in /usr/local/lib/python3.4/dist-packages/pyasn1-0.1.8-py3.4.egg (from ldap3)
Cleaning up...
Когда выполняю импорт модуля, то получаю
ImportError.
>>> import ldap3
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.4/dist-packages/ldap3-2.5.1-py3.4.egg/ldap3/__init__.py", line 138, in <module>
File "/usr/local/lib/python3.4/dist-packages/ldap3-2.5.1-py3.4.egg/ldap3/core/connection.py", line 37, in <module>
File "/usr/local/lib/python3.4/dist-packages/ldap3-2.5.1-py3.4.egg/ldap3/extend/__init__.py", line 45, in <module>
File "/usr/local/lib/python3.4/dist-packages/ldap3-2.5.1-py3.4.egg/ldap3/extend/standard/whoAmI.py", line 27, in <module>
ImportError: cannot import name 'NoValue'