diff --git a/Makefile b/Makefile index 7409b1b..74056ca 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ R2_USER_PLUGINS=$(shell r2 -H R2_USER_PLUGINS) PWD=$(shell pwd) R2PM_BINDIR=$(shell r2pm -H R2PM_BINDIR) -# Note that a bunch of packages are not available for 3.12 yet -ifeq ($(shell which python3.11 > /dev/null && echo ok),ok) -PYTHON?=python3.11 +PV=3.12 +ifeq ($(shell which python${PV} > /dev/null && echo ok),ok) +PYTHON?=python${PV} else PYTHON?=python3 endif diff --git a/requirements.txt b/requirements.txt index 1343948..7ed8f1c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ rich pyreadline3 r2pipe inquirer -llama-cpp-python +llama-cpp-python==0.2.85 huggingface_hub==0.22.2 appdirs unidecode