import DirectoryLoader generate error
Labels: name: area: doc loader, name: auto:bug

### System Info

langchain version: 0.0.270
python version: 3.11.0
os: Ubuntu 20.04.6 LTS

### Who can help?

@hwchase17 

### Information

- [ ] The official example notebooks/scripts
- [X] My own modified scripts

### Related Components

- [ ] LLMs/Chat Models
- [ ] Embedding Models
- [ ] Prompts / Prompt Templates / Prompt Selectors
- [ ] Output Parsers
- [X] Document Loaders
- [ ] Vector Stores / Retrievers
- [ ] Memory
- [ ] Agents / Agent Executors
- [ ] Tools / Toolkits
- [ ] Chains
- [ ] Callbacks/Tracing
- [ ] Async

### Reproduction

in a python file, there is only one line of code like following:

`from langchain.document_loaders import DirectoryLoader`

when run it, it generate following errorss:

```
Traceback (most recent call last):
  File "/home/tq/code/langchain/python_311/project/01_test.py", line 1, in <module>
    from langchain.document_loaders import DirectoryLoader
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/langchain/__init__.py", line 6, in <module>
    from langchain.agents import MRKLChain, ReActChain, SelfAskWithSearchChain
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/langchain/agents/__init__.py", line 31, in <module>
    from langchain.agents.agent import (
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/langchain/agents/agent.py", line 14, in <module>
    from langchain.agents.agent_iterator import AgentExecutorIterator
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/langchain/agents/agent_iterator.py", line 30, in <module>
    from langchain.tools import BaseTool
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/langchain/tools/__init__.py", line 41, in <module>
    from langchain.tools.gmail import (
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/langchain/tools/gmail/__init__.py", line 3, in <module>
    from langchain.tools.gmail.create_draft import GmailCreateDraft
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/langchain/tools/gmail/create_draft.py", line 7, in <module>
    from langchain.tools.gmail.base import GmailBaseTool
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/langchain/tools/gmail/base.py", line 16, in <module>
    from googleapiclient.discovery import Resource
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/googleapiclient/discovery.py", line 57, in <module>
    from googleapiclient import _auth, mimeparse
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/googleapiclient/_auth.py", line 34, in <module>
    import oauth2client.client
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/oauth2client/client.py", line 47, in <module>
    from oauth2client import crypt
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/oauth2client/crypt.py", line 55, in <module>
    from oauth2client import _pycrypto_crypt
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/oauth2client/_pycrypto_crypt.py", line 17, in <module>
    from Crypto.PublicKey import RSA
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/Crypto/PublicKey/__init__.py", line 29, in <module>
    from Crypto.Util.asn1 import (DerSequence, DerInteger, DerBitString,
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/Crypto/Util/asn1.py", line 33, in <module>
    from Crypto.Util.number import long_to_bytes, bytes_to_long
  File "/home/tq/anaconda3/envs/py311/lib/python3.11/site-packages/Crypto/Util/number.py", line 398
    s = pack('>I', n & 0xffffffffL) + s
                                ^
SyntaxError: invalid hexadecimal literal

```
please help, thanks!


### Expected behavior

import DirectoryLoader should be work.