techleadhd / chatgpt-retrieval

1.65k stars 783 forks source link

Platform Independent #37

Open gur26001 opened 10 months ago

gur26001 commented 10 months ago

Please make this into docker container so that we can install all the necessary tools and library, as on running pip install, it returning error to download wheel lib. Follow is the error coming on using pip command mentioned in the readme file: `Building wheels for collected packages: chroma-hnswlib Building wheel for chroma-hnswlib (pyproject.toml) ... error error: subprocess-exited-with-error

× Building wheel for chroma-hnswlib (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [5 lines of output] running bdist_wheel running build running build_ext building 'hnswlib' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for chroma-hnswlib Failed to build chroma-hnswlib ERROR: Could not build wheels for chroma-hnswlib, which is required to install pyproject.toml-based projects `

Junaid-Nazir-828 commented 9 months ago

You need to have Microsoft C++ build tools to install Chromadb. You can download it from here : https://visualstudio.microsoft.com/visual-cpp-build-tools/ . Moreover you can follow these steps to ease your installations : https://github.com/bycloudai/InstallVSBuildToolsWindows