Installing a local LLM - post 3 of 3
This is a post on getting PrivateGPT to work. 1. Install git repo Firstly let's assume you have already downloaded and installed PrivateGPT in your local git repository. If that means nothing to you, open your terminal (Linux) and type: mkdir git cd git git clone https://github.com/imartinez/privateGPT 2. Make sure python and libraries are working Mostly if you install the components it just works, however Ubuntu 22 comes with a version of g++ and friends that it doesn't like. So you have to use Python 3.10 specifically and then run these commands: cd git/privateGPT sudo apt-get install python3.10 # please only use this version pip install 'pygpt4all==v1.0.1' --force-reinstall sudo apt install libxcb-cursor0 sudo apt-get install python3-dev python3.10 -m pip install --upgrade pip sudo apt install build-essential python3.10 -m pip install hnswlib python3.10 -m pip install chromadb then python3.10 -m pip install chroma-migrate chroma-migrate python3.10 -m pip install -r r...