79613860

Date: 2025-05-09 09:51:47
Score: 0.5
Natty:
Report link

I was running on a fresh ubuntu install so some of the packages were not installed but are necessary.$

conda install cmake git

conda install -c conda-forge openmp

sudo apt install build-essential cmake git libopenblas-dev liblapack-dev libatlas-base-dev libgomp1

sudo apt install libomp-dev

sudo apt update

sudo apt upgrade

sudo add-apt-repository ppa:ubuntu-toolchain-r/test

sudo apt update

sudo apt install gcc-11 g++-11

sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 60 --slave /usr/bin/g++ g++ /usr/bin/g++-11

NB: create a virtual env before running the python specific packages.

pip install scikit-build-core cython

pip install langchain[all]

pip install llama-cpp-python==0.1.48

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Daniel Ado