Anil-matcha / ChatPDF

Chat with any PDF. Easily upload the PDF documents you'd like to chat with. Instant answers. Ask questions, extract information, and summarize documents with AI. Sources included.
https://www.thesamur.ai/?utm_source=github&utm_medium=link&utm_campaign=github_chatpdf
MIT License
1.38k stars 213 forks source link

Getting issue to install chromadb & hnswlib #6

Open shalyamishra opened 1 year ago

shalyamishra commented 1 year ago

-----------------------Error Log of hnswlib--------------------------- ERROR: Failed building wheel for hnswlib Failed to build hnswlib ERROR: Could not build wheels for hnswlib, which is required to install pyproject.toml-based projects WARNING: You are using pip version 21.3.1; however, version 23.1.2 is available. You should consider upgrading via the 'D:\AI_Projects\PDF_GPT\ChatPDF-main\env\Scripts\python.exe -m pip install --upgrade pip' command.

Anil-matcha commented 1 year ago

https://stackoverflow.com/questions/73969269/error-could-not-build-wheels-for-hnswlib-which-is-required-to-install-pyprojec

Looks like a similar issue, you can check

Ishraqlancer517 commented 1 year ago

Hi while running main.py there is an error saying docx.api module not found. which is found in the init__.py file. How to solve this?

Broadsword27 commented 1 year ago

Downgraded Python to 3.10.10

export HNSWLIB_NO_NATIVE=1 
pip install HNSWLIB