1

I am stuck at this error while importing from ldap3 import Server, Connection, ALL. Please help

Shubham srivastava
  • 227
  • 1
  • 4
  • 12

2 Answers2

3

Try to update the pyasn1 package

pip install -U pyasn1
cannatag
  • 1,528
  • 11
  • 17
0

I stumbled above the same error. In my case my executed python file was named like the ldap3 python library (ldap3.py). So i renamed my file and it worked.

Michael
  • 46
  • 5