nrl-ai / pautobot

🔥 Your private task assistant with GPT 🔥 - Ask questions about your documents.
153 stars 48 forks source link

Cannot Ingest File Documents, ERROR #21

Open sarment0 opened 1 year ago

sarment0 commented 1 year ago

When I try to upload documents and click Ingest Data this exception pops up.

RuntimeError: Failed to import transformers.models.bert.modeling_bert because of the following error (look up to see its traceback): cannot import name 'DEFAULTCIPHERS' from 'urllib3.util.ssl' (C:\Users\User\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\urllib3\util\ssl.py)

vietanhdev commented 1 year ago

Hi @sarment0, Could you try to upgrade urllib3:

pip install --upgrade urllib3